summaryrefslogtreecommitdiff
path: root/tests/test_summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-12-24 16:20:24 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-12-24 16:20:24 -0500
commit8672eee93fc8e4cf017a133607a371547b5e7812 (patch)
tree216c8982b66afd4bea500d6ca7ab56b8a208624c /tests/test_summary.py
parentc4875b6ce2265e6797705508bae09a7a74a710e4 (diff)
downloadpython-coveragepy-git-8672eee93fc8e4cf017a133607a371547b5e7812.tar.gz
Asserts should be expected,actual
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,