diff --git a/tests/test_core/test_lib/test_format_traceback.py b/tests/test_core/test_lib/test_format_traceback.py index 99606fc0..6d391afe 100644 --- a/tests/test_core/test_lib/test_format_traceback.py +++ b/tests/test_core/test_lib/test_format_traceback.py @@ -149,7 +149,7 @@ def test_exception_expression_remove_py310() -> None: ZeroDivisionError: division by zero''' -@pytest.mark.skipif(not PYTHON_311 or not PYTHON_312, reason='New traceback from python 3.11 and 3.12') +@pytest.mark.skipif(PYTHON_313, reason='New traceback from python 3.11 and 3.12') def test_exception_expression_remove_py_311_312() -> None: log.setLevel(logging.WARNING) msg = exec_func(func_test_assert_none)