diff options
author | arcadia-devtools <[email protected]> | 2022-03-04 13:00:59 +0300 |
---|---|---|
committer | arcadia-devtools <[email protected]> | 2022-03-04 13:00:59 +0300 |
commit | 9d0b6817b42d7c07c757d4fc4a9c6cdac2d92413 (patch) | |
tree | 921cc18990bf6ea6732259be35eebf8d079d7650 /contrib/python | |
parent | 4de4646021e9377bcda9b448fd2cb224b15b6aa9 (diff) |
intermediate changes
ref:b6c610b592628f654b035720d4d86493b0cc40ee
Diffstat (limited to 'contrib/python')
-rw-r--r-- | contrib/python/parso/py3/patches/02-disable-tests-for-python-3.10.patch | 11 | ||||
-rw-r--r-- | contrib/python/parso/py3/tests/test_python_errors.py | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/contrib/python/parso/py3/patches/02-disable-tests-for-python-3.10.patch b/contrib/python/parso/py3/patches/02-disable-tests-for-python-3.10.patch new file mode 100644 index 00000000000..27ea99772d4 --- /dev/null +++ b/contrib/python/parso/py3/patches/02-disable-tests-for-python-3.10.patch @@ -0,0 +1,11 @@ +--- contrib/python/parso/py3/tests/test_python_errors.py (index) ++++ contrib/python/parso/py3/tests/test_python_errors.py (working tree) +@@ -28,7 +28,7 @@ def assert_comparison(code, error_code, positions): + errors = [(error.start_pos, error.code) for error in _get_error_list(code)] + assert [(pos, error_code) for pos in positions] == errors + +- [email protected](sys.version_info >= (3, 10), reason="parso don't support Python 3.10 yet") + @pytest.mark.parametrize('code', FAILING_EXAMPLES) + def test_python_exception_matches(code): + wanted, line_nr = _get_actual_exception(code) diff --git a/contrib/python/parso/py3/tests/test_python_errors.py b/contrib/python/parso/py3/tests/test_python_errors.py index adf5f069312..fe43a301ad0 100644 --- a/contrib/python/parso/py3/tests/test_python_errors.py +++ b/contrib/python/parso/py3/tests/test_python_errors.py @@ -28,7 +28,7 @@ def assert_comparison(code, error_code, positions): errors = [(error.start_pos, error.code) for error in _get_error_list(code)] assert [(pos, error_code) for pos in positions] == errors - [email protected](sys.version_info >= (3, 10), reason="parso don't support Python 3.10 yet") @pytest.mark.parametrize('code', FAILING_EXAMPLES) def test_python_exception_matches(code): wanted, line_nr = _get_actual_exception(code) |