Commit e10bb776 authored by Jason R. Coombs's avatar Jason R. Coombs

Use compatible skipIf

--HG--
branch : distribute
extra : rebase_source : 4964057db0c3186c1c8b9e934cf23f1b4ddcb167
parent 7bc21a08
......@@ -34,8 +34,8 @@ class TestDistInfo(unittest.TestCase):
assert versioned.version == '2.718' # from filename
assert unversioned.version == '0.3' # from METADATA
@unittest.skipIf('markerlib' not in globals(),
"install markerlib to test conditional dependencies")
@skipIf('markerlib' not in globals(),
"install markerlib to test conditional dependencies")
def test_conditional_dependencies(self):
requires = [pkg_resources.Requirement.parse('splort==4'),
pkg_resources.Requirement.parse('quux>=1.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