https://github.com/python/cpython/commit/8d84120b4175daaf4ae6038621f3005cdb65acda
commit: 8d84120b4175daaf4ae6038621f3005cdb65acda
branch: main
author: Yutian Li <[email protected]>
committer: hauntsaninja <[email protected]>
date: 2024-05-08T19:58:48Z
summary:

Fixing a typo in test_cmd_line.py (#118728)

files:
M Lib/test/test_cmd_line.py

diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index 9624d35d0c3948..058470082fbbf0 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -981,7 +981,7 @@ def test_cpu_count_default(self):
         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):

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to