aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources/tests/test_working_set.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-05-12 20:34:20 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-05-12 21:05:32 -0400
commit322734cfa00d3d5bffb9af02c780ee8e33142e5b (patch)
tree9e7a3de7bcfd562197e323437ce853fc5ae3d495 /pkg_resources/tests/test_working_set.py
parent030c836645acd4ee4362c980e46b23f5e27d5664 (diff)
downloadexternal_python_setuptools-322734cfa00d3d5bffb9af02c780ee8e33142e5b.tar.gz
external_python_setuptools-322734cfa00d3d5bffb9af02c780ee8e33142e5b.tar.bz2
external_python_setuptools-322734cfa00d3d5bffb9af02c780ee8e33142e5b.zip
👹 Feed the hobgoblins (delint).
Fixes #2107
Diffstat (limited to 'pkg_resources/tests/test_working_set.py')
-rw-r--r--pkg_resources/tests/test_working_set.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg_resources/tests/test_working_set.py b/pkg_resources/tests/test_working_set.py
index b3ca4ea8..7a759bbb 100644
--- a/pkg_resources/tests/test_working_set.py
+++ b/pkg_resources/tests/test_working_set.py
@@ -14,8 +14,8 @@ __metaclass__ = type
def strip_comments(s):
return '\n'.join(
- l for l in s.split('\n')
- if l.strip() and not l.strip().startswith('#')
+ line for line in s.split('\n')
+ if line.strip() and not line.strip().startswith('#')
)