From f75f35ae77e7ed586cc5bf1b3756357b38591e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 3 Jul 2018 14:30:59 +0200 Subject: [PATCH] Swap 'expected' and 'actual' arguments Python itself doesn't make any distinction (it just logs 'a != b') but PyCharm does. --- tests/test_tracer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tracer.py b/tests/test_tracer.py index 44ff892..646f57e 100644 --- a/tests/test_tracer.py +++ b/tests/test_tracer.py @@ -88,7 +88,7 @@ class DepsTest(AbstractTracerTest): # Don't leave empty sets in expects. del expects[dep.block_name] else: - self.assertEqual(actual, exp, msg='for block %s' % dep.block_name) + self.assertEqual(exp, actual, msg='for block %s' % dep.block_name) del expects[dep.block_name] # All expected uses should have been seen.