Commits

Ian Cordasco committed 285d0e1

Fix tests

Comments (0)

Files changed (1)

flake8/tests/test_flakes.py

 from unittest import TestCase
-from flakey import check, print_messages
+from pyflakes.api import check
 
 
 code = """
     def test_exception(self):
         for c in (code, code2, code3):
             warnings = check(code, '(stdin)')
-            warnings = print_messages(warnings)
             self.assertEqual(warnings, 0)
 
     def test_from_import_exception_in_scope(self):
         warnings = check(code_from_import_exception, '(stdin)')
-        warnings = print_messages(warnings)
         self.assertEqual(warnings, 0)
 
     def test_import_exception_in_scope(self):
         warnings = check(code_import_exception, '(stdin)')
-        warnings = print_messages(warnings)
         self.assertEqual(warnings, 0)