diff options
author | Christian Heimes <christian@cheimes.de> | 2012-11-18 23:59:39 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-11-18 23:59:39 (GMT) |
commit | de0b962998af69dff474ec99b7627bcee496d48e (patch) | |
tree | a48df8f829f399deff97d68d04dbe0397748984b /Lib/test/test_site.py | |
parent | 8473e5740ffe15134a73f1553b5980de4ce2c619 (diff) | |
download | cpython-de0b962998af69dff474ec99b7627bcee496d48e.zip cpython-de0b962998af69dff474ec99b7627bcee496d48e.tar.gz cpython-de0b962998af69dff474ec99b7627bcee496d48e.tar.bz2 |
Remove sys.platform == 'riscos' checks from some Python and test files. #16501
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r-- | Lib/test/test_site.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 5090239..9c7840f 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -222,11 +222,7 @@ class HelperFunctionsTests(unittest.TestCase): site.PREFIXES = ['xoxo'] dirs = site.getsitepackages() - if sys.platform == 'riscos': - self.assertEqual(len(dirs), 1) - wanted = os.path.join('xoxo', 'Lib', 'site-packages') - self.assertEqual(dirs[0], wanted) - elif (sys.platform == "darwin" and + if (sys.platform == "darwin" and sysconfig.get_config_var("PYTHONFRAMEWORK")): # OS X framework builds site.PREFIXES = ['Python.framework'] |