02-disable-tests-for-python-3.10.patch 596 B

1234567891011
  1. --- contrib/python/parso/py3/tests/test_python_errors.py (index)
  2. +++ contrib/python/parso/py3/tests/test_python_errors.py (working tree)
  3. @@ -28,7 +28,7 @@ def assert_comparison(code, error_code, positions):
  4. errors = [(error.start_pos, error.code) for error in _get_error_list(code)]
  5. assert [(pos, error_code) for pos in positions] == errors
  6. -
  7. +@pytest.mark.skipif(sys.version_info >= (3, 10), reason="parso don't support Python 3.10 yet")
  8. @pytest.mark.parametrize('code', FAILING_EXAMPLES)
  9. def test_python_exception_matches(code):
  10. wanted, line_nr = _get_actual_exception(code)