diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-03-29 16:08:24 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-03-29 16:08:24 +0100 |
commit | 0fa6355c121e1f62ca64a46ebeeedc6f5c9d742d (patch) | |
tree | 8c7af1ee25db8fe868451ebd1b787f880c77d7d5 | |
parent | d5d38539c31c71cf4efa4fdaedbf1f79e59bf13b (diff) | |
download | pyflakes-0fa6355c121e1f62ca64a46ebeeedc6f5c9d742d.tar.gz |
Actually this test passes
-rw-r--r-- | pyflakes/test/test_other.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pyflakes/test/test_other.py b/pyflakes/test/test_other.py index f21e97f..54cc3c9 100644 --- a/pyflakes/test/test_other.py +++ b/pyflakes/test/test_other.py @@ -13,14 +13,13 @@ class Test(TestCase): def test_duplicateArgs(self): self.flakes('def fu(bar, bar): pass', m.DuplicateArgument) - @skip("todo: this requires finding all assignments in the function body first") def test_localReferencedBeforeAssignment(self): self.flakes(''' a = 1 def f(): a; a=1 f() - ''', m.UndefinedName) + ''', m.UndefinedLocal, m.UnusedVariable) def test_redefinedInListComp(self): """ |