diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-19 14:56:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-19 14:56:21 -0500 |
| commit | b1c620657aef4bf92aafe77349add0cfd907243e (patch) | |
| tree | b24e5fe890b1957a159b47716c7668a0d0b67224 /setuptools/tests | |
| parent | c9fb0772fb3c147fce7affe7fcd0aa96435005d2 (diff) | |
| parent | 6b2490cd12e7e520b807ac35a084afd7bf3d912d (diff) | |
| download | external_python_setuptools-b1c620657aef4bf92aafe77349add0cfd907243e.tar.gz external_python_setuptools-b1c620657aef4bf92aafe77349add0cfd907243e.tar.bz2 external_python_setuptools-b1c620657aef4bf92aafe77349add0cfd907243e.zip | |
Merge pull request #1905 from mimi1vx/patch-1
Fix _imp module behaviour if is defined paths in find_spec call
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/test_setuptools.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/setuptools/tests/test_setuptools.py b/setuptools/tests/test_setuptools.py index 0da19b0e..bca69c30 100644 --- a/setuptools/tests/test_setuptools.py +++ b/setuptools/tests/test_setuptools.py @@ -108,6 +108,11 @@ class TestDepends: assert not req.is_present() assert not req.is_current() + @needs_bytecode + def test_require_present(self): + # In #1896, this test was failing for months with the only + # complaint coming from test runners (not end users). + # TODO: Evaluate if this code is needed at all. req = Require('Tests', None, 'tests', homepage="http://example.com") assert req.format is None assert req.attribute is None |
