summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-08-18 12:17:25 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-08-24 06:54:17 -0400
commitfd3dd69cc10026cf6d69925267134c11b281a803 (patch)
treec680e30c53a82864705263b9d6f90b7b11249849
parent6ee0473a77c8bd8c91681fa86e58acb55a6e44f4 (diff)
downloadpython-coveragepy-git-fd3dd69cc10026cf6d69925267134c11b281a803.tar.gz
Cop out for a json/sql difference in data types
-rw-r--r--tests/test_data.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_data.py b/tests/test_data.py
index ad8b805b..48df81fd 100644
--- a/tests/test_data.py
+++ b/tests/test_data.py
@@ -231,7 +231,7 @@ class CoverageDataTest(DataTestHelpers, CoverageTest):
covdata.add_lines({"p1.foo": dict.fromkeys([1, 2, 3])})
covdata.add_file_tracers({"p1.foo": "p1.plugin"})
- msg = "Conflicting file tracer name for 'p1.foo': 'p1.plugin' vs 'p1.plugin.foo'"
+ msg = "Conflicting file tracer name for 'p1.foo': u?'p1.plugin' vs u?'p1.plugin.foo'"
with self.assertRaisesRegex(CoverageException, msg):
covdata.add_file_tracers({"p1.foo": "p1.plugin.foo"})
@@ -339,11 +339,11 @@ class CoverageDataTest(DataTestHelpers, CoverageTest):
covdata2.add_lines({"p1.html": dict.fromkeys([1, 2, 3])})
covdata2.add_file_tracers({"p1.html": "html.other_plugin"})
- msg = "Conflicting file tracer name for 'p1.html': 'html.plugin' vs 'html.other_plugin'"
+ msg = "Conflicting file tracer name for 'p1.html': u?'html.plugin' vs u?'html.other_plugin'"
with self.assertRaisesRegex(CoverageException, msg):
covdata1.update(covdata2)
- msg = "Conflicting file tracer name for 'p1.html': 'html.other_plugin' vs 'html.plugin'"
+ msg = "Conflicting file tracer name for 'p1.html': u?'html.other_plugin' vs u?'html.plugin'"
with self.assertRaisesRegex(CoverageException, msg):
covdata2.update(covdata1)
@@ -355,11 +355,11 @@ class CoverageDataTest(DataTestHelpers, CoverageTest):
covdata2 = CoverageData(suffix="2")
covdata2.add_lines({"p1.html": dict.fromkeys([1, 2, 3])})
- msg = "Conflicting file tracer name for 'p1.html': 'html.plugin' vs ''"
+ msg = "Conflicting file tracer name for 'p1.html': u?'html.plugin' vs u?''"
with self.assertRaisesRegex(CoverageException, msg):
covdata1.update(covdata2)
- msg = "Conflicting file tracer name for 'p1.html': '' vs 'html.plugin'"
+ msg = "Conflicting file tracer name for 'p1.html': u?'' vs u?'html.plugin'"
with self.assertRaisesRegex(CoverageException, msg):
covdata2.update(covdata1)