From 7ff93a9740da5dec4eba6c6cad288d25a472d75a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 20 Dec 2020 20:19:49 -0500 Subject: Use set literals --- tests/plugin1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/plugin1.py') 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 -- cgit v1.2.1