summaryrefslogtreecommitdiff
path: root/tests/test_summary.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_summary.py')
-rw-r--r--tests/test_summary.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_summary.py b/tests/test_summary.py
index fa9a3158..60a96e64 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -267,7 +267,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest):
'---------------------------------------------------------',
'TOTAL 11 2 8 3 63%',
]
- self.assertEqual(report_lines, expected)
+ self.assertEqual(expected, report_lines)
def test_report_skip_covered_no_branches(self):
self.make_file("main.py", """
@@ -530,7 +530,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest):
)
if env.PY2:
expected = expected.encode(output_encoding())
- self.assertEqual(errmsg, expected)
+ self.assertEqual(expected, errmsg)
def test_dotpy_not_python_ignored(self):
# We run a .py file, and when reporting, we can't parse it as Python,