15
0
Files
python-bpython/syntaxerror_failing_test.patch

20 lines
728 B
Diff
Raw Normal View History

---
bpython/test/test_interpreter.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/bpython/test/test_interpreter.py
+++ b/bpython/test/test_interpreter.py
@@ -41,10 +41,10 @@ class TestInterpreter(unittest.TestCase)
+ green('"<bpython-input-148>"')
+ ", line "
+ bold(magenta("1"))
- + "\n 1.1.1.1\n ^^^^^\n"
+ + "\n 1.1.1.1\n ^^\n"
+ bold(red("SyntaxError"))
+ ": "
- + cyan("invalid syntax. Perhaps you forgot a comma?")
+ + cyan("invalid syntax")
+ "\n"
)
elif (3, 8) <= sys.version_info[:2] <= (3, 9):