diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-08-03 06:00:59 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-08-03 06:00:59 (GMT) |
commit | 49b2734bf12dc1cda80fd73d3ec8896ae3e362f2 (patch) | |
tree | 049e496126aae48bf6d7c3ddbb7f145e04e53e97 /Lib/test/test_subprocess.py | |
parent | d9d55c91bec4776b41685b48fe660621e89f0617 (diff) | |
download | cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.zip cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.tar.gz cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.tar.bz2 |
Spelling fixes (#2902)
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r-- | Lib/test/test_subprocess.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index a99976a..d152826 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -668,25 +668,25 @@ class ProcessTestCase(BaseTestCase): subprocess.Popen([sys.executable, "-c", "pass#\0"]) def test_invalid_env(self): - # null character in the enviroment variable name + # null character in the environment variable name newenv = os.environ.copy() newenv["FRUIT\0VEGETABLE"] = "cabbage" with self.assertRaises(ValueError): subprocess.Popen([sys.executable, "-c", "pass"], env=newenv) - # null character in the enviroment variable value + # null character in the environment variable value newenv = os.environ.copy() newenv["FRUIT"] = "orange\0VEGETABLE=cabbage" with self.assertRaises(ValueError): subprocess.Popen([sys.executable, "-c", "pass"], env=newenv) - # equal character in the enviroment variable name + # equal character in the environment variable name newenv = os.environ.copy() newenv["FRUIT=ORANGE"] = "lemon" with self.assertRaises(ValueError): subprocess.Popen([sys.executable, "-c", "pass"], env=newenv) - # equal character in the enviroment variable value + # equal character in the environment variable value newenv = os.environ.copy() newenv["FRUIT"] = "orange=lemon" with subprocess.Popen([sys.executable, "-c", |