You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix traceback, syntax errors, and exception handling
Fix test_unpack_ex doctest failure and revert wrong subscript range
- Remove EXPECTED_FAILURE marker from dict(**x for x in [{1:2}])
doctest which now passes correctly
- Revert subscript_range to use current_source_range (includes
closing bracket) instead of value+slice range (excludes it)
@unittest.expectedFailure# TODO: RUSTPYTHON; AssertionError: '\nAttributeError\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File "<console>", line 1, in <module>\nValueError\n' not found in 'Python <MagicMock name=\'sys.version\' id=\'94615517503920\'> on <MagicMock name=\'sys.platform\' id=\'94615517656384\'>\nType "help", "copyright", "credits" or "license" for more information.\n(InteractiveConsole)\nAttributeError\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File "<console>", line 1, in <module>\nValueError: \n\nnow exiting InteractiveConsole...\n'
289
286
deftest_cause_tb(self):
290
287
self.infunc.side_effect= ["raise ValueError('') from AttributeError",
0 commit comments