Commits

Jendrik Seipp committed 0d9115f

fix tests for python3

Comments (0)

Files changed (1)

tests/test_scavenging.py

 
 def test_variable5():
     v = Vulture(verbose=True)
-    v.scan("for a, b in func(): print a")
+    v.scan("for a, b in func(): a")
     assert v.defined_funcs == []
     assert v.defined_vars == ['a', 'b']
     assert sorted(v.used_vars) == ['a', 'func']