Issue #15307: Skipped test_venv:test_prefixes when run from a venv.

This commit is contained in:
Vinay Sajip 2012-07-15 16:12:54 +01:00
parent 9ac4d8808f
commit 509d87d4a0

View file

@ -87,6 +87,8 @@ class BasicTest(BaseTest):
print(' %r' % os.listdir(bd))
self.assertTrue(os.path.exists(fn), 'File %r should exist.' % fn)
@unittest.skipIf(sys.prefix != sys.base_prefix, 'Test not appropriate '
'in a venv')
def test_prefixes(self):
"""
Test that the prefix values are as expected.