- Fix failing tests:
- typing_extensions.patch (post Python 3.8 we don't need
typing_extensions package at all)
- syntaxerror_failing_test.patch (This is actually fixed in the
post-0.22.1 development, but waiting on it.)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bpython?expand=0&rev=20
This commit is contained in:
19
syntaxerror_failing_test.patch
Normal file
19
syntaxerror_failing_test.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
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):
|
||||
Reference in New Issue
Block a user