| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
by adding locals to globals
|
test_eval_formatter failure: FAILED tests/test_text.py::test_eval_formatter - File "<string>", line 1
0[n//i for i in range(1,8)]
^^^
SyntaxError: invalid syntax
is due to this change: python/cpython#21767 It gives [] a semantic meaning so f.format("{[n//i for i in range(1,8)]}", **ns) cannot work without overriding vformat implementation. I am not sure why IPython ships EvalFormatter and what usage is there, and if we should adopt the new upstream behaviour or preserve the old one. It looks like it is exclusively used by ipyparallel and its forks https://github.com/search?q=%22from+IPython.utils.text+import+EvalFormatter%22&type=code |
Sorry, something went wrong.
|
We are down to 11 failing tests, some of which are potential jedi upstream issues, some related to debugger: FAILED tests/test_completer.py::TestCompleter::test_all_completions_dups - AssertionError: (True, [])
assert [] == ['TestClass']
Right contains one more item: 'TestClass'
Full diff:
+ []
- [
- 'TestClass',
- ]
FAILED tests/test_completer.py::TestCompleter::test_completion_have_signature - StopIteration
FAILED tests/test_completer.py::TestCompleter::test_deduplicate_completions - AssertionError: Completions (Z.z<tab>) correctly deduplicate: []
assert 0 == 1
+ where 0 = len([])
FAILED tests/test_completer.py::TestCompleter::test_greedy_completions - AssertionError: <Completion start=5 end=5 text='real' type='?', signature='?',> not found in []
FAILED tests/test_completer.py::TestCompleter::test_jedi - AssertionError: jedi >0.9 should complete and not crash
assert <Completion start=6 end=6 text='real' type='?', signature='?',> in set()
+ where <Completion start=6 end=6 text='real' type='?', signature='?',> = Completion(6, 6, 'real')
FAILED tests/test_completer.py::TestCompleter::test_matcher_suppression_with_jedi - AssertionError: 'keys' not found in []
FAILED tests/test_debugger.py::tests.test_debugger.can_exit
FAILED tests/test_debugger.py::tests.test_debugger.can_quit
FAILED tests/test_debugger.py::tests.test_debugger.test_ipdb_magics2
FAILED tests/test_debugger.py::test_decorator_skip_with_breakpoint - pexpect.exceptions.TIMEOUT: Timeout exceeded.
FAILED tests/test_text.py::test_eval_formatter - File "<string>", line 1
0[n//i for i in range(1,8)]
^^^
SyntaxError: invalid syntax
|
Sorry, something went wrong.
|
Upstream release of parso solved the completer failures, we are down to 5: FAILED tests/test_debugger.py::tests.test_debugger.can_exit
FAILED tests/test_debugger.py::tests.test_debugger.can_quit
FAILED tests/test_debugger.py::tests.test_debugger.test_ipdb_magics2
FAILED tests/test_debugger.py::test_decorator_skip_with_breakpoint - pexpect.exceptions.TIMEOUT: Timeout exceeded.
FAILED tests/test_text.py::test_eval_formatter - File "<string>", line 1
0[n//i for i in range(1,8)]
^^^
SyntaxError: invalid syntax
=================== 5 failed, 1415 passed, 136 skipped, 3 xfailed, 42 warnings in 134.82s (0:02:14) ====================
|
Sorry, something went wrong.
even though it was passing locally for me on the same rc2?
| Back | FazBrowse Home | New Git URL |
Fixes #14858