From 0fa6355c121e1f62ca64a46ebeeedc6f5c9d742d Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Sat, 29 Mar 2014 16:08:24 +0100 Subject: Actually this test passes --- pyflakes/test/test_other.py | 3 +-- 1 file changed, 1 insertion(+), 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): """ -- cgit v1.2.1