Beispiel #1
0
 def test_success(self):
     assert pyflakes.check_path(str(TEST_PATH / 'sample/flake_ok.py'))
Beispiel #2
0
 def test_failure(self):
     assert not pyflakes.check_path(str(TEST_PATH / 'sample/flake_fail.py'))