summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_setuptools.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-03-07 15:41:51 -0500
committerJason R. Coombs <jaraco@jaraco.com>2020-03-07 15:41:51 -0500
commitda94b05088d9bddb6ba0cd5a1b236e99985816c0 (patch)
tree8a78ccd2d459e7702d914cb35e29f5f661e5bf5a /setuptools/tests/test_setuptools.py
parent6980b9c8fed113f1046099924e16287662beff5f (diff)
parent25edd1951d8d44c34578c926f5c20ed3d452587b (diff)
downloadpython-setuptools-git-da94b05088d9bddb6ba0cd5a1b236e99985816c0.tar.gz
Merge remote-tracking branch 'origin/master' into debt/remove-features
Diffstat (limited to 'setuptools/tests/test_setuptools.py')
-rw-r--r--setuptools/tests/test_setuptools.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/setuptools/tests/test_setuptools.py b/setuptools/tests/test_setuptools.py
index 26a6ab52..08d263ae 100644
--- a/setuptools/tests/test_setuptools.py
+++ b/setuptools/tests/test_setuptools.py
@@ -107,6 +107,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