Changed order of arguments in a test assert for better error legibility.
- Legacy-Id: 14774
This commit is contained in:
parent
f7305447ba
commit
f3f77dce48
|
@ -49,7 +49,7 @@ class PyFlakesTestCase(TestCase):
|
|||
path = os.path.join(settings.BASE_DIR)
|
||||
warnings = []
|
||||
warnings = pyflakes.checkPaths([path], verbosity=0)
|
||||
self.assertEqual([str(w) for w in warnings], [])
|
||||
self.assertEqual([], [str(w) for w in warnings])
|
||||
|
||||
class TestSMTPServer(TestCase):
|
||||
|
||||
|
|
Loading…
Reference in a new issue