From e10bb776722f4dd1d5bcda17adcc557ea0eb8b14 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 22 Jul 2012 15:45:53 -0400 Subject: Use compatible skipIf --HG-- branch : distribute extra : rebase_source : 4964057db0c3186c1c8b9e934cf23f1b4ddcb167 --- setuptools/tests/test_dist_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setuptools/tests') diff --git a/setuptools/tests/test_dist_info.py b/setuptools/tests/test_dist_info.py index cf8fb0f9..68ba9e24 100644 --- a/setuptools/tests/test_dist_info.py +++ b/setuptools/tests/test_dist_info.py @@ -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')] -- cgit v1.2.3