From: Yutian Li Date: Wed, 8 May 2024 19:58:48 +0000 (-0400) Subject: Fixing a typo in test_cmd_line.py (#118728) X-Git-Tag: v3.14.0a1~1966 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d84120b4175daaf4ae6038621f3005cdb65acda;p=thirdparty%2FPython%2Fcpython.git Fixing a typo in test_cmd_line.py (#118728) --- diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 9624d35d0c39..058470082fbb 100644 --- a/Lib/test/test_cmd_line.py +++ b/Lib/test/test_cmd_line.py @@ -981,7 +981,7 @@ class CmdLineTest(unittest.TestCase): self.assertEqual(self.res2int(res), (os.cpu_count(), os.process_cpu_count())) res = assert_python_ok('-X', 'cpu_count=default', '-c', code, PYTHON_CPU_COUNT='1234') self.assertEqual(self.res2int(res), (os.cpu_count(), os.process_cpu_count())) - es = assert_python_ok('-c', code, PYTHON_CPU_COUNT='default') + res = assert_python_ok('-c', code, PYTHON_CPU_COUNT='default') self.assertEqual(self.res2int(res), (os.cpu_count(), os.process_cpu_count())) def res2int(self, res):