diff options
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r-- | tests/test_plugins.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py index d14f5c47..1f224695 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -400,12 +400,12 @@ class GoodFileTracerTest(FileTracerTest): # have 7 lines in it. If render() was called with line number 4, # then the plugin will claim that lines 4 and 5 were executed. analysis = cov._analyze("foo_7.html") - self.assertEqual(analysis.statements, set([1, 2, 3, 4, 5, 6, 7])) + self.assertEqual(analysis.statements, {1, 2, 3, 4, 5, 6, 7}) # Plugins don't do branch coverage yet. self.assertEqual(analysis.has_arcs(), True) self.assertEqual(analysis.arc_possibilities(), []) - self.assertEqual(analysis.missing, set([1, 2, 3, 6, 7])) + self.assertEqual(analysis.missing, {1, 2, 3, 6, 7}) def test_plugin2_with_text_report(self): self.make_render_and_caller() @@ -553,7 +553,7 @@ class GoodFileTracerTest(FileTracerTest): class MyReporter(coverage.FileReporter): def lines(self): - return set([99, 999, 9999]) + return {99, 999, 9999} def coverage_init(reg, options): reg.add_file_tracer(Plugin()) |