Commit 6b2490cd authored by Jason R. Coombs's avatar Jason R. Coombs

Separate test for 'is_present' into its own test and add a TODO about this...

Separate test for 'is_present' into its own test and add a TODO about this behavior being apparently unused.
parent 20992988
......@@ -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
......
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