summaryrefslogtreecommitdiff
path: root/tests/plugin1.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-12-20 20:19:49 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-01-03 06:26:21 -0500
commit7ff93a9740da5dec4eba6c6cad288d25a472d75a (patch)
treeb81243f1508e4727dc28094c48be84ac6ae07706 /tests/plugin1.py
parent12c5fcd57fd1cce3bc3563732f5502f5e943c0e0 (diff)
downloadpython-coveragepy-git-7ff93a9740da5dec4eba6c6cad288d25a472d75a.tar.gz
Use set literals
Diffstat (limited to 'tests/plugin1.py')
-rw-r--r--tests/plugin1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugin1.py b/tests/plugin1.py
index a070af36..3283fbda 100644
--- a/tests/plugin1.py
+++ b/tests/plugin1.py
@@ -44,7 +44,7 @@ class FileTracer(coverage.FileTracer):
class FileReporter(coverage.FileReporter):
"""Dead-simple FileReporter."""
def lines(self):
- return set([105, 106, 107, 205, 206, 207])
+ return {105, 106, 107, 205, 206, 207}
def coverage_init(reg, options): # pylint: disable=unused-argument