]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixing a typo in test_cmd_line.py (#118728)
authorYutian Li <hotpxless@gmail.com>
Wed, 8 May 2024 19:58:48 +0000 (15:58 -0400)
committerGitHub <noreply@github.com>
Wed, 8 May 2024 19:58:48 +0000 (19:58 +0000)
Lib/test/test_cmd_line.py

index 9624d35d0c3948ecead96f7ef62b5b0dacad64f3..058470082fbbf0130a5037bc19e0e2cedee6327b 100644 (file)
@@ -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):