commit | 509d87d4a06f2812c82df9b2fab83272f6463a81 | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sun Jul 15 16:12:54 2012 +0100 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sun Jul 15 16:12:54 2012 +0100 |
tree | 2c441b8c0e51572f6d5372bdbbc4414afb385879 | |
parent | 9ac4d8808f21869c558f2d9fd5e46cb083443ea8 [diff] |
Issue #15307: Skipped test_venv:test_prefixes when run from a venv.
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py index c98a14e..6f73fcf 100644 --- a/Lib/test/test_venv.py +++ b/Lib/test/test_venv.py
@@ -87,6 +87,8 @@ 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.