diff options
author | Anthony Sottile <asottile@umich.edu> | 2018-05-22 11:37:07 -0700 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-05-22 20:37:07 +0200 |
commit | 377cc42f9e3116ff97cddd4567d53e9a3e24ebf9 (patch) | |
tree | cd590d0bc6750f8e83071884ca29ae1bcdafeb02 /pylint/test/unittest_lint.py | |
parent | bf258d2d9a30385f62e4c77158fa0427134e7603 (diff) | |
download | pylint-git-377cc42f9e3116ff97cddd4567d53e9a3e24ebf9.tar.gz |
pyupgrade (#2136)
Diffstat (limited to 'pylint/test/unittest_lint.py')
-rw-r--r-- | pylint/test/unittest_lint.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pylint/test/unittest_lint.py b/pylint/test/unittest_lint.py index 156ec7e68..22742af63 100644 --- a/pylint/test/unittest_lint.py +++ b/pylint/test/unittest_lint.py @@ -438,9 +438,9 @@ def test_enable_checkers(linter): def test_errors_only(linter): linter.error_mode() checkers = linter.prepare_checkers() - checker_names = set(c.name for c in checkers) - should_not = set(('design', 'format', 'metrics', - 'miscellaneous', 'similarities')) + checker_names = {c.name for c in checkers} + should_not = {'design', 'format', 'metrics', + 'miscellaneous', 'similarities'} assert set() == should_not & checker_names |