Skip to content

Commit fc9512c

Browse files
author
Andy Landy
committed
fix tests
1 parent f61c19a commit fc9512c

File tree

864 files changed

+4856
-4856
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

864 files changed

+4856
-4856
lines changed

tests/dumps/win32_3.10/test_core.test_after-0-.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
Traceback with variables (most recent call last):
2-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\test_core.py", line 13, in check_
2+
File "...omitted for tests only, abs path.../test_core.py", line 13, in check_
33
f()
44
kwargs = {'fmt': traceback_with_variables.core.Format(after=0, before=0, brief_files_except=[], color_scheme=None, custom_var_printers=[], ellipsis_='...', ellipsis_rel_pos=0.7, max_exc_str_len=10000, max_value_str_len=1000, objects_details=1, skip_files_except=[])}
55
tb_reg = <bound method Reg.match_tb_text of <tests.test_utils.Reg object at 0x...omitted for tests only, obj id...>>
6-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 92, in f
6+
File "...omitted for tests only, abs path.../dummies.py", line 92, in f
77
return f(
88
n = 10001
99
s1 = 'short string with n: 10001'
1010
l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156...9951, 9952, 9953, 9954, 9955, 9956, 9957, 9958, 9959, 9960, 9961, 9962, 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9973, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999, 10000'
1111
us = <exception while printing> Traceback (most recent call last):
1212
...traceback_with_variables internal stacks...
13-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 29, in __repr__
13+
File "...omitted for tests only, abs path.../dummies.py", line 29, in __repr__
1414
raise ValueError("please don't print me")
1515
ValueError: please don't print me
1616

17-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 86, in f
17+
File "...omitted for tests only, abs path.../dummies.py", line 86, in f
1818
return 1 // (n * 0)
1919
n = 10000
2020
s1 = 'short string with n: 10000'
2121
l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156... 9950, 9951, 9952, 9953, 9954, 9955, 9956, 9957, 9958, 9959, 9960, 9961, 9962, 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9973, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999'
2222
us = <exception while printing> Traceback (most recent call last):
2323
...traceback_with_variables internal stacks...
24-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 29, in __repr__
24+
File "...omitted for tests only, abs path.../dummies.py", line 29, in __repr__
2525
raise ValueError("please don't print me")
2626
ValueError: please don't print me
2727

tests/dumps/win32_3.10/test_core.test_after-100-.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Traceback with variables (most recent call last):
2-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\test_core.py", line 13, in check_
2+
File "...omitted for tests only, abs path.../test_core.py", line 13, in check_
33
> f()
44
. except Exception: # noqa
55
. tb_reg(core.format_exc(**kwargs))
@@ -91,7 +91,7 @@ Traceback with variables (most recent call last):
9191
. 1/0
9292
kwargs = {'fmt': traceback_with_variables.core.Format(after=100, before=0, brief_files_except=[], color_scheme=None, custom_var_printers=[], ellipsis_='...', ellipsis_rel_pos=0.7, max_exc_str_len=10000, max_value_str_len=1000, objects_details=1, skip_files_except=[])}
9393
tb_reg = <bound method Reg.match_tb_text of <tests.test_utils.Reg object at 0x...omitted for tests only, obj id...>>
94-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 92, in f
94+
File "...omitted for tests only, abs path.../dummies.py", line 92, in f
9595
> return f(
9696
. n
9797
.
@@ -102,11 +102,11 @@ Traceback with variables (most recent call last):
102102
l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156...9951, 9952, 9953, 9954, 9955, 9956, 9957, 9958, 9959, 9960, 9961, 9962, 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9973, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999, 10000'
103103
us = <exception while printing> Traceback (most recent call last):
104104
...traceback_with_variables internal stacks...
105-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 29, in __repr__
105+
File "...omitted for tests only, abs path.../dummies.py", line 29, in __repr__
106106
raise ValueError("please don't print me")
107107
ValueError: please don't print me
108108

109-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 86, in f
109+
File "...omitted for tests only, abs path.../dummies.py", line 86, in f
110110
> return 1 // (n * 0)
111111
.
112112
. if True:
@@ -123,7 +123,7 @@ Traceback with variables (most recent call last):
123123
l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156... 9950, 9951, 9952, 9953, 9954, 9955, 9956, 9957, 9958, 9959, 9960, 9961, 9962, 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9973, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999'
124124
us = <exception while printing> Traceback (most recent call last):
125125
...traceback_with_variables internal stacks...
126-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 29, in __repr__
126+
File "...omitted for tests only, abs path.../dummies.py", line 29, in __repr__
127127
raise ValueError("please don't print me")
128128
ValueError: please don't print me
129129

tests/dumps/win32_3.10/test_core.test_after-2-.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
Traceback with variables (most recent call last):
2-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\test_core.py", line 13, in check_
2+
File "...omitted for tests only, abs path.../test_core.py", line 13, in check_
33
> f()
44
. except Exception: # noqa
55
kwargs = {'fmt': traceback_with_variables.core.Format(after=2, before=0, brief_files_except=[], color_scheme=None, custom_var_printers=[], ellipsis_='...', ellipsis_rel_pos=0.7, max_exc_str_len=10000, max_value_str_len=1000, objects_details=1, skip_files_except=[])}
66
tb_reg = <bound method Reg.match_tb_text of <tests.test_utils.Reg object at 0x...omitted for tests only, obj id...>>
7-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 92, in f
7+
File "...omitted for tests only, abs path.../dummies.py", line 92, in f
88
> return f(
99
. n
1010
n = 10001
1111
s1 = 'short string with n: 10001'
1212
l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156...9951, 9952, 9953, 9954, 9955, 9956, 9957, 9958, 9959, 9960, 9961, 9962, 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9973, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999, 10000'
1313
us = <exception while printing> Traceback (most recent call last):
1414
...traceback_with_variables internal stacks...
15-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 29, in __repr__
15+
File "...omitted for tests only, abs path.../dummies.py", line 29, in __repr__
1616
raise ValueError("please don't print me")
1717
ValueError: please don't print me
1818

19-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 86, in f
19+
File "...omitted for tests only, abs path.../dummies.py", line 86, in f
2020
> return 1 // (n * 0)
2121
.
2222
n = 10000
2323
s1 = 'short string with n: 10000'
2424
l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156... 9950, 9951, 9952, 9953, 9954, 9955, 9956, 9957, 9958, 9959, 9960, 9961, 9962, 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9973, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999'
2525
us = <exception while printing> Traceback (most recent call last):
2626
...traceback_with_variables internal stacks...
27-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 29, in __repr__
27+
File "...omitted for tests only, abs path.../dummies.py", line 29, in __repr__
2828
raise ValueError("please don't print me")
2929
ValueError: please don't print me
3030

tests/dumps/win32_3.10/test_core.test_before-0-.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
Traceback with variables (most recent call last):
2-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\test_core.py", line 13, in check_
2+
File "...omitted for tests only, abs path.../test_core.py", line 13, in check_
33
f()
44
kwargs = {'fmt': traceback_with_variables.core.Format(after=0, before=0, brief_files_except=[], color_scheme=None, custom_var_printers=[], ellipsis_='...', ellipsis_rel_pos=0.7, max_exc_str_len=10000, max_value_str_len=1000, objects_details=1, skip_files_except=[])}
55
tb_reg = <bound method Reg.match_tb_text of <tests.test_utils.Reg object at 0x...omitted for tests only, obj id...>>
6-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 92, in f
6+
File "...omitted for tests only, abs path.../dummies.py", line 92, in f
77
return f(
88
n = 10001
99
s1 = 'short string with n: 10001'
1010
l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156...9951, 9952, 9953, 9954, 9955, 9956, 9957, 9958, 9959, 9960, 9961, 9962, 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9973, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999, 10000'
1111
us = <exception while printing> Traceback (most recent call last):
1212
...traceback_with_variables internal stacks...
13-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 29, in __repr__
13+
File "...omitted for tests only, abs path.../dummies.py", line 29, in __repr__
1414
raise ValueError("please don't print me")
1515
ValueError: please don't print me
1616

17-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 86, in f
17+
File "...omitted for tests only, abs path.../dummies.py", line 86, in f
1818
return 1 // (n * 0)
1919
n = 10000
2020
s1 = 'short string with n: 10000'
2121
l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156... 9950, 9951, 9952, 9953, 9954, 9955, 9956, 9957, 9958, 9959, 9960, 9961, 9962, 9963, 9964, 9965, 9966, 9967, 9968, 9969, 9970, 9971, 9972, 9973, 9974, 9975, 9976, 9977, 9978, 9979, 9980, 9981, 9982, 9983, 9984, 9985, 9986, 9987, 9988, 9989, 9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999'
2222
us = <exception while printing> Traceback (most recent call last):
2323
...traceback_with_variables internal stacks...
24-
File "D:\a\traceback_with_variables\traceback_with_variables\tests\dummies.py", line 29, in __repr__
24+
File "...omitted for tests only, abs path.../dummies.py", line 29, in __repr__
2525
raise ValueError("please don't print me")
2626
ValueError: please don't print me
2727

0 commit comments

Comments
 (0)