summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_site.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2012-11-18 23:59:39 (GMT)
committerChristian Heimes <christian@cheimes.de>2012-11-18 23:59:39 (GMT)
commitde0b962998af69dff474ec99b7627bcee496d48e (patch)
treea48df8f829f399deff97d68d04dbe0397748984b /Lib/test/test_site.py
parent8473e5740ffe15134a73f1553b5980de4ce2c619 (diff)
downloadcpython-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.py6
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']