diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-20 21:34:25 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-20 21:34:25 -0500 |
commit | 36a6a8bcf4b803f16891a766e87aabca3ace09e9 (patch) | |
tree | a5329be4d29e59178faa447cff795f11ab2d282f /pkg_resources/tests/test_pkg_resources.py | |
parent | 1b935caf64fc8f3eb72c7ee8c05a221f7ca9d9b7 (diff) | |
download | python-setuptools-git-36a6a8bcf4b803f16891a766e87aabca3ace09e9.tar.gz |
Remove usage relying on deprecated and ambiguous leading slash. Ref #1635
Diffstat (limited to 'pkg_resources/tests/test_pkg_resources.py')
-rw-r--r-- | pkg_resources/tests/test_pkg_resources.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg_resources/tests/test_pkg_resources.py b/pkg_resources/tests/test_pkg_resources.py index 416f9aff..2c2c9c7f 100644 --- a/pkg_resources/tests/test_pkg_resources.py +++ b/pkg_resources/tests/test_pkg_resources.py @@ -93,7 +93,6 @@ class TestZipProvider: expected_root = ['data.dat', 'mod.py', 'subdir'] assert sorted(zp.resource_listdir('')) == expected_root - assert sorted(zp.resource_listdir('/')) == expected_root expected_subdir = ['data2.dat', 'mod2.py'] assert sorted(zp.resource_listdir('subdir')) == expected_subdir @@ -106,7 +105,6 @@ class TestZipProvider: zp2 = pkg_resources.ZipProvider(mod2) assert sorted(zp2.resource_listdir('')) == expected_subdir - assert sorted(zp2.resource_listdir('/')) == expected_subdir assert zp2.resource_listdir('subdir') == [] assert zp2.resource_listdir('subdir/') == [] |