diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-18 10:01:39 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-18 10:01:39 -0400 |
commit | eb6502d70552df1fa1272497c05d8c5893f6befe (patch) | |
tree | 320be558bc585686982750d2488063d0ce9dacee /setuptools/tests | |
parent | b1b837df6846cc64bdfec94408fc2276fbfe93ab (diff) | |
download | python-setuptools-git-eb6502d70552df1fa1272497c05d8c5893f6befe.tar.gz |
Use another variable name to avoid masking prior value.
Diffstat (limited to 'setuptools/tests')
-rw-r--r-- | setuptools/tests/test_dist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_dist.py b/setuptools/tests/test_dist.py index 0279318b..5162e1c9 100644 --- a/setuptools/tests/test_dist.py +++ b/setuptools/tests/test_dist.py @@ -125,10 +125,10 @@ def test_maintainer_author(name, attrs, tmpdir): dist.metadata.write_pkg_info(fn_s) with io.open(str(fn.join('PKG-INFO')), 'r', encoding='utf-8') as f: - pkg_lines = f.readlines() + raw_pkg_lines = f.readlines() # Drop blank lines - pkg_lines = list(filter(None, pkg_lines)) + pkg_lines = list(filter(None, raw_pkg_lines)) pkg_lines_set = set(pkg_lines) |