diff options
Diffstat (limited to 'pyflakes/test/test_other.py')
-rw-r--r-- | pyflakes/test/test_other.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyflakes/test/test_other.py b/pyflakes/test/test_other.py index b138cf6..ce742a5 100644 --- a/pyflakes/test/test_other.py +++ b/pyflakes/test/test_other.py @@ -2052,6 +2052,10 @@ class TestIncompatiblePrintOperator(TestCase): self.assertEqual(exc.lineno, 4) self.assertEqual(exc.col, 0) + def test_print_augmented_assign(self): + # nonsense, but shouldn't crash pyflakes + self.flakes('print += 1') + def test_print_function_assignment(self): """ A valid assignment, tested for catching false positives. |