We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd1034 commit 4697efbCopy full SHA for 4697efb
bpython/test/test_interpreter.py
@@ -50,7 +50,24 @@ def gfunc():
50
51
global_not_found = "name 'gfunc' is not defined"
52
53
- if (3, 13) <= sys.version_info[:2] or pypy:
+ if (
54
+ sys.version_info[:2] == (3, 13)
55
+ and sys.version_info[:3] >= (3, 13, 12)
56
+ ) or sys.version_info[:3] >= (3, 14, 3):
57
+ expected = expected = (
58
+ "Traceback (most recent call last):\n File "
59
+ + green('"<input>"')
60
+ + ", line "
61
+ + bold(magenta("1"))
62
+ + ", in "
63
+ + cyan("<module>")
64
+ + "\n"
65
+ + bold(red("NameError"))
66
+ + ": "
67
+ + cyan(global_not_found)
68
69
+ )
70
+ elif (3, 13) <= sys.version_info[:2] or pypy:
71
expected = (
72
"Traceback (most recent call last):\n File "
73
+ green('"<input>"')
0 commit comments