diff --git a/tests/integration/test_checker.py b/tests/integration/test_checker.py index 4ceda193..01ee38e9 100644 --- a/tests/integration/test_checker.py +++ b/tests/integration/test_checker.py @@ -348,10 +348,14 @@ def test_handling_syntaxerrors_across_pythons(): """ if sys.version_info[:2] < (3, 10): # Python 3.9 or older - err = SyntaxError("invalid syntax", ("", 2, 5, "bad python:\n")) + err = SyntaxError( + "invalid syntax", ("", 2, 5, "bad python:\n") + ) expected = (2, 4) else: - err = SyntaxError("invalid syntax", ("", 2, 1, "bad python:\n", 2, 11)) + err = SyntaxError( + "invalid syntax", ("", 2, 1, "bad python:\n", 2, 11) + ) expected = (2, 1) file_checker = checker.FileChecker("-", {}, mock.MagicMock()) actual = file_checker._extract_syntax_information(err)