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

Remove consideration for older Pythons

parent 0ef90459
...@@ -25,7 +25,7 @@ INIT_PY = """print "foo" ...@@ -25,7 +25,7 @@ INIT_PY = """print "foo"
class TestDevelopTest: class TestDevelopTest:
def setup_method(self, method): def setup_method(self, method):
if sys.version < "2.6" or hasattr(sys, 'real_prefix'): if hasattr(sys, 'real_prefix'):
return return
# Directory structure # Directory structure
...@@ -50,7 +50,7 @@ class TestDevelopTest: ...@@ -50,7 +50,7 @@ class TestDevelopTest:
site.USER_SITE = tempfile.mkdtemp() site.USER_SITE = tempfile.mkdtemp()
def teardown_method(self, method): def teardown_method(self, method):
if sys.version < "2.6" or hasattr(sys, 'real_prefix') or (hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix): if hasattr(sys, 'real_prefix') or (hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix):
return return
os.chdir(self.old_cwd) os.chdir(self.old_cwd)
...@@ -61,7 +61,7 @@ class TestDevelopTest: ...@@ -61,7 +61,7 @@ class TestDevelopTest:
site.USER_SITE = self.old_site site.USER_SITE = self.old_site
def test_develop(self): def test_develop(self):
if sys.version < "2.6" or hasattr(sys, 'real_prefix'): if hasattr(sys, 'real_prefix'):
return return
dist = Distribution( dist = Distribution(
dict(name='foo', dict(name='foo',
......
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