diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-10-03 20:03:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-03 20:03:49 +0300 |
commit | 93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e (patch) | |
tree | 7d119733b0de07024169d68ac5af8ac63422023f /Lib/test/test_syntax.py | |
parent | 5ba61f488da2e092a81c3d126c5827dad6ab2006 (diff) | |
download | cpython-git-93242d7a2ad8c22f72ff84b63ed9046d32f6aa8e.tar.gz |
[3.10] Remove trailing spaces (GH-28709)
Diffstat (limited to 'Lib/test/test_syntax.py')
-rw-r--r-- | Lib/test/test_syntax.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index f9deb7b331..45b2785f34 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py @@ -1298,7 +1298,7 @@ class SyntaxTestCase(unittest.TestCase): self.assertEqual(err.end_lineno, end_lineno) if end_offset is not None: self.assertEqual(err.end_offset, end_offset) - + else: self.fail("compile() did not raise SyntaxError") @@ -1438,7 +1438,7 @@ class SyntaxTestCase(unittest.TestCase): self._check_error("int(**{'base': 10}, *['2'])", "iterable argument unpacking follows " "keyword argument unpacking") - + def test_generator_in_function_call(self): self._check_error("foo(x, y for y in range(3) for z in range(2) if z , p)", "Generator expression must be parenthesized", |