summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_warnings
diff options
context:
space:
mode:
authorWilliam Wen <william.wen42@gmail.com>2023-12-01 22:18:16 (GMT)
committerGitHub <noreply@github.com>2023-12-01 22:18:16 (GMT)
commit939fc6d6eab9b7ea8c244d513610dbdd556503a7 (patch)
tree37b5e5e7524e8ce098647566af5d7a3fc7ce30ea /Lib/test/test_warnings
parent5c5022b8625e34f0035ad5a23bc4c2f16649d134 (diff)
downloadcpython-939fc6d6eab9b7ea8c244d513610dbdd556503a7.zip
cpython-939fc6d6eab9b7ea8c244d513610dbdd556503a7.tar.gz
cpython-939fc6d6eab9b7ea8c244d513610dbdd556503a7.tar.bz2
gh-106922: Support multi-line error locations in traceback (attempt 2) (#112097)
Diffstat (limited to 'Lib/test/test_warnings')
-rw-r--r--Lib/test/test_warnings/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_warnings/__init__.py b/Lib/test/test_warnings/__init__.py
index 232480c..50b0f3f 100644
--- a/Lib/test/test_warnings/__init__.py
+++ b/Lib/test/test_warnings/__init__.py
@@ -1260,8 +1260,8 @@ class EnvironmentVariableTests(BaseTest):
b" File \"<string>\", line 1, in <module>",
b' import sys, warnings; sys.stdout.write(str(sys.warnoptions)); warnings.w'
b"arn('Message', DeprecationWarning)",
- b' ^^^^^^^^^^'
- b'^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^',
+ b' ~~~~~~~~~~'
+ b'~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^',
b"DeprecationWarning: Message"])
def test_default_filter_configuration(self):