Commit 656a5f3b authored by Jason R. Coombs's avatar Jason R. Coombs

Extract variable for readability

parent 39787939
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment