summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index bd8720fd..43cad80a 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ with open(os.path.join(astroid_dir, "README.rst")) as fobj:
long_description = fobj.read()
-needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
+needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []