mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
check after comments, too (#13832)
This commit is contained in:
parent
6a7b855a97
commit
cff9237d57
2 changed files with 18 additions and 6 deletions
|
@ -470,6 +470,8 @@ if 1:
|
|||
self.assertInvalidSingle('a = 13\nb = 187')
|
||||
self.assertInvalidSingle('del x\ndel y')
|
||||
self.assertInvalidSingle('f()\ng()')
|
||||
self.assertInvalidSingle('f()\n# blah\nblah()')
|
||||
self.assertInvalidSingle('f()\nxy # blah\nblah()')
|
||||
|
||||
def test_main():
|
||||
support.run_unittest(TestSpecifics)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue