summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_compileall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py
index 3f333a5..295dc40 100644
--- a/Lib/test/test_compileall.py
+++ b/Lib/test/test_compileall.py
@@ -126,13 +126,13 @@ class CommandLineTests(unittest.TestCase):
def assertRunOK(self, *args, **env_vars):
rc, out, err = script_helper.assert_python_ok(
- '-m', 'compileall', *args, **env_vars)
+ '-S', '-m', 'compileall', *args, **env_vars)
self.assertEqual(b'', err)
return out
def assertRunNotOK(self, *args, **env_vars):
rc, out, err = script_helper.assert_python_failure(
- '-m', 'compileall', *args, **env_vars)
+ '-S', '-m', 'compileall', *args, **env_vars)
return rc, out, err
def assertCompiled(self, fn):