mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove trailing spaces. (GH-28706)
This commit is contained in:
parent
dc878240dc
commit
a5a56154f1
5 changed files with 6 additions and 6 deletions
|
@ -1299,7 +1299,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")
|
||||
|
||||
|
@ -1439,7 +1439,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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue