From 86fe10c29f69eaa19b50458d7f291d94944fbdd5 Mon Sep 17 00:00:00 2001 From: andy-landy Date: Sun, 5 Dec 2021 20:31:35 +0300 Subject: [PATCH] fix tests dumps --- tests/dumps/test_core.after_0.txt | 2 +- tests/dumps/test_core.after_100.txt | 2 +- tests/dumps/test_core.after_2.txt | 2 +- tests/dumps/test_core.before_0.txt | 2 +- tests/dumps/test_core.before_100.txt | 2 +- tests/dumps/test_core.before_2.txt | 2 +- tests/dumps/test_core.before_after.txt | 2 +- tests/dumps/test_core.color_scheme_common.txt | 2 +- tests/dumps/test_core.color_scheme_nice.txt | 2 +- tests/dumps/test_core.color_scheme_synthwave.txt | 2 +- tests/dumps/test_core.default.txt | 4 ++-- tests/dumps/test_core.ellipsis.txt | 2 +- tests/dumps/test_core.explicit_e.txt | 2 +- tests/dumps/test_core.files_._dummies.__._dummies._.txt | 2 +- tests/dumps/test_core.files_._dummies.__None.txt | 2 +- tests/dumps/test_core.files_None_._dummies._.txt | 2 +- tests/dumps/test_core.files_None_None.txt | 2 +- tests/dumps/test_core.max_value_str_len.txt | 2 +- tests/dumps/test_core.num_skipped_frames_0.txt | 4 ++-- tests/dumps/test_core.num_skipped_frames_1.txt | 4 ++-- tests/dumps/test_core.num_skipped_frames_2.txt | 2 +- tests/dumps/test_core.var_printers_0_0.txt | 2 +- tests/dumps/test_core.var_printers_0_2.txt | 2 +- tests/dumps/test_core.var_printers_2_0.txt | 2 +- tests/dumps/test_core.var_printers_2_2.txt | 2 +- .../test_global_hooks.activate_in_ipython_by_import_error.txt | 4 ++-- 26 files changed, 30 insertions(+), 30 deletions(-) diff --git a/tests/dumps/test_core.after_0.txt b/tests/dumps/test_core.after_0.txt index a35346a..a5094bb 100644 --- a/tests/dumps/test_core.after_0.txt +++ b/tests/dumps/test_core.after_0.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.after_100.txt b/tests/dumps/test_core.after_100.txt index 531bba3..3bc27e3 100644 --- a/tests/dumps/test_core.after_100.txt +++ b/tests/dumps/test_core.after_100.txt @@ -22,7 +22,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.after_2.txt b/tests/dumps/test_core.after_2.txt index 1227b1b..f6bbc8d 100644 --- a/tests/dumps/test_core.after_2.txt +++ b/tests/dumps/test_core.after_2.txt @@ -12,7 +12,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.before_0.txt b/tests/dumps/test_core.before_0.txt index d8a448e..7b07759 100644 --- a/tests/dumps/test_core.before_0.txt +++ b/tests/dumps/test_core.before_0.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.before_100.txt b/tests/dumps/test_core.before_100.txt index d2af6c6..7486e9e 100644 --- a/tests/dumps/test_core.before_100.txt +++ b/tests/dumps/test_core.before_100.txt @@ -119,7 +119,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.before_2.txt b/tests/dumps/test_core.before_2.txt index a28d04c..6e28361 100644 --- a/tests/dumps/test_core.before_2.txt +++ b/tests/dumps/test_core.before_2.txt @@ -12,7 +12,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.before_after.txt b/tests/dumps/test_core.before_after.txt index a589082..d2ea6fe 100644 --- a/tests/dumps/test_core.before_after.txt +++ b/tests/dumps/test_core.before_after.txt @@ -14,7 +14,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.color_scheme_common.txt b/tests/dumps/test_core.color_scheme_common.txt index d7f5df2..3508c24 100644 --- a/tests/dumps/test_core.color_scheme_common.txt +++ b/tests/dumps/test_core.color_scheme_common.txt @@ -10,7 +10,7 @@  s1 = 'short string with n: 10000'  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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2...  us =  Traceback (most recent call last): -  File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str +  File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str   raw = print_(obj)   File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__   raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.color_scheme_nice.txt b/tests/dumps/test_core.color_scheme_nice.txt index a9630c1..b471e6f 100644 --- a/tests/dumps/test_core.color_scheme_nice.txt +++ b/tests/dumps/test_core.color_scheme_nice.txt @@ -10,7 +10,7 @@  s1 = 'short string with n: 10000'  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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2...  us =  Traceback (most recent call last): -  File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str +  File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str   raw = print_(obj)   File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__   raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.color_scheme_synthwave.txt b/tests/dumps/test_core.color_scheme_synthwave.txt index 79c9b71..5b206ea 100644 --- a/tests/dumps/test_core.color_scheme_synthwave.txt +++ b/tests/dumps/test_core.color_scheme_synthwave.txt @@ -10,7 +10,7 @@  s1 = 'short string with n: 10000'  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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2...  us =  Traceback (most recent call last): -  File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str +  File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str   raw = print_(obj)   File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__   raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.default.txt b/tests/dumps/test_core.default.txt index cdb44c3..1cac655 100644 --- a/tests/dumps/test_core.default.txt +++ b/tests/dumps/test_core.default.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10001' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") @@ -22,7 +22,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.ellipsis.txt b/tests/dumps/test_core.ellipsis.txt index 4e77184..ae37a23 100644 --- a/tests/dumps/test_core.ellipsis.txt +++ b/tests/dumps/test_core.ellipsis.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2* us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.explicit_e.txt b/tests/dumps/test_core.explicit_e.txt index 71753c2..9e635b1 100644 --- a/tests/dumps/test_core.explicit_e.txt +++ b/tests/dumps/test_core.explicit_e.txt @@ -8,7 +8,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.files_._dummies.__._dummies._.txt b/tests/dumps/test_core.files_._dummies.__._dummies._.txt index ab97662..6b89200 100644 --- a/tests/dumps/test_core.files_._dummies.__._dummies._.txt +++ b/tests/dumps/test_core.files_._dummies.__._dummies._.txt @@ -5,7 +5,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.files_._dummies.__None.txt b/tests/dumps/test_core.files_._dummies.__None.txt index ab97662..6b89200 100644 --- a/tests/dumps/test_core.files_._dummies.__None.txt +++ b/tests/dumps/test_core.files_._dummies.__None.txt @@ -5,7 +5,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.files_None_._dummies._.txt b/tests/dumps/test_core.files_None_._dummies._.txt index 4c36fac..6fb7339 100644 --- a/tests/dumps/test_core.files_None_._dummies._.txt +++ b/tests/dumps/test_core.files_None_._dummies._.txt @@ -7,7 +7,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.files_None_None.txt b/tests/dumps/test_core.files_None_None.txt index 826739c..299bc53 100644 --- a/tests/dumps/test_core.files_None_None.txt +++ b/tests/dumps/test_core.files_None_None.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.max_value_str_len.txt b/tests/dumps/test_core.max_value_str_len.txt index d5764c4..9cdaedf 100644 --- a/tests/dumps/test_core.max_value_str_len.txt +++ b/tests/dumps/test_core.max_value_str_len.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short str... l1 = 'long stri... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.num_skipped_frames_0.txt b/tests/dumps/test_core.num_skipped_frames_0.txt index 69a346e..465763c 100644 --- a/tests/dumps/test_core.num_skipped_frames_0.txt +++ b/tests/dumps/test_core.num_skipped_frames_0.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10001' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") @@ -22,7 +22,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.num_skipped_frames_1.txt b/tests/dumps/test_core.num_skipped_frames_1.txt index c7243e8..7fb03ab 100644 --- a/tests/dumps/test_core.num_skipped_frames_1.txt +++ b/tests/dumps/test_core.num_skipped_frames_1.txt @@ -5,7 +5,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10001' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") @@ -17,7 +17,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.num_skipped_frames_2.txt b/tests/dumps/test_core.num_skipped_frames_2.txt index ab97662..6b89200 100644 --- a/tests/dumps/test_core.num_skipped_frames_2.txt +++ b/tests/dumps/test_core.num_skipped_frames_2.txt @@ -5,7 +5,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10000' 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, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 2... us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.var_printers_0_0.txt b/tests/dumps/test_core.var_printers_0_0.txt index 2d69e92..1b7dcdb 100644 --- a/tests/dumps/test_core.var_printers_0_0.txt +++ b/tests/dumps/test_core.var_printers_0_0.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10' l1 = 'long string with 0..n: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9' us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.var_printers_0_2.txt b/tests/dumps/test_core.var_printers_0_2.txt index 6040746..7d61328 100644 --- a/tests/dumps/test_core.var_printers_0_2.txt +++ b/tests/dumps/test_core.var_printers_0_2.txt @@ -10,7 +10,7 @@ Traceback with variables (most recent call last): s1 = 'short string with n: 10' l1 = var us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.var_printers_2_0.txt b/tests/dumps/test_core.var_printers_2_0.txt index 631697e..30df648 100644 --- a/tests/dumps/test_core.var_printers_2_0.txt +++ b/tests/dumps/test_core.var_printers_2_0.txt @@ -9,7 +9,7 @@ Traceback with variables (most recent call last): n = 10 s1 = 'short string with n: 10' us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_core.var_printers_2_2.txt b/tests/dumps/test_core.var_printers_2_2.txt index 729b0e1..da7be0f 100644 --- a/tests/dumps/test_core.var_printers_2_2.txt +++ b/tests/dumps/test_core.var_printers_2_2.txt @@ -9,7 +9,7 @@ Traceback with variables (most recent call last): n = 10 s1 = 'short string with n: 10' us = Traceback (most recent call last): - File "...omitted for tests only.../traceback_with_variables/core.py", line 212, in _to_cropped_str + File "...omitted for tests only.../traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) File "...omitted for tests only.../tests/dummies.py", line 3, in __repr__ raise ValueError("please don't print me") diff --git a/tests/dumps/test_global_hooks.activate_in_ipython_by_import_error.txt b/tests/dumps/test_global_hooks.activate_in_ipython_by_import_error.txt index 604669a..e63d61a 100644 --- a/tests/dumps/test_global_hooks.activate_in_ipython_by_import_error.txt +++ b/tests/dumps/test_global_hooks.activate_in_ipython_by_import_error.txt @@ -10,8 +10,8 @@ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "...omitted for tests only...", line 1, in import traceback_with_variables.activate_in_ipython_by_import - File "...omitted for tests only.../traceback_with_variables/activate_in_ipython_by_import.py", line 8, in - global_print_exc_in_ipython(fmt=Format( + File "...omitted for tests only.../traceback_with_variables/activate_in_ipython_by_import.py", line 14, in + global_print_exc_in_ipython() File "...omitted for tests only.../traceback_with_variables/global_hooks.py", line 15, in global_print_exc_in_ipython raise ValueError("IPython not found") ValueError: IPython not found