Skip to content

Commit

Permalink
Fixing a typo in test_cmd_line.py (python#118728)
Browse files Browse the repository at this point in the history
  • Loading branch information
hotpxl authored May 8, 2024
1 parent 05c2fe1 commit 8d84120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_cmd_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8d84120

Please sign in to comment.