diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-02-03 10:13:36 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-02-03 10:13:36 -0500 |
| commit | 656a5f3b9c4f289c28e2810ce10ca71b571d6a2c (patch) | |
| tree | fd943736112e84a1cdc89828d6cec935e5614be3 /pkg_resources/tests | |
| parent | 397879392e928a873953bddd978dd87292211e62 (diff) | |
| download | python-setuptools-git-656a5f3b9c4f289c28e2810ce10ca71b571d6a2c.tar.gz | |
Extract variable for readability
Diffstat (limited to 'pkg_resources/tests')
| -rw-r--r-- | pkg_resources/tests/test_resources.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py index 00f0307d..c6ab6d0e 100644 --- a/pkg_resources/tests/test_resources.py +++ b/pkg_resources/tests/test_resources.py @@ -709,7 +709,9 @@ class TestNamespaces: import nspkg.subpkg import nspkg - assert nspkg.__path__ == [os.path.join(real_tmpdir, site, - "nspkg") - for site in site_pkgs] + expected = [ + os.path.join(real_tmpdir, site, "nspkg") + for site in site_pkgs + ] + assert nspkg.__path__ == expected assert nspkg.subpkg.__version__ == 1 |
