aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_cmd_line.py
diff options
context:
space:
mode:
authorYutian Li <hotpxless@gmail.com>2024-05-08 15:58:48 -0400
committerGitHub <noreply@github.com>2024-05-08 19:58:48 +0000
commit8d84120b4175daaf4ae6038621f3005cdb65acda (patch)
tree5d767f601917d3729a2a60c96a818cd56516bfd3 /Lib/test/test_cmd_line.py
parent05c2fe1acda9ea5a57061642c36e8b73bb4fbba4 (diff)
downloadcpython-8d84120b4175daaf4ae6038621f3005cdb65acda.tar.gz
cpython-8d84120b4175daaf4ae6038621f3005cdb65acda.zip
Fixing a typo in test_cmd_line.py (#118728)
Diffstat (limited to 'Lib/test/test_cmd_line.py')
-rw-r--r--Lib/test/test_cmd_line.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index 9624d35d0c3..058470082fb 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):