mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-100762: Fix optimization in gen_close (#111069)
This commit is contained in:
parent
a4981921aa
commit
0db2517687
3 changed files with 5 additions and 8 deletions
|
@ -83,8 +83,8 @@ class CProfileTest(ProfileTest):
|
|||
|
||||
for func, (cc, nc, _, _, _) in pr.stats.items():
|
||||
if func[2] == "<genexpr>":
|
||||
self.assertEqual(cc, 2)
|
||||
self.assertEqual(nc, 2)
|
||||
self.assertEqual(cc, 1)
|
||||
self.assertEqual(nc, 1)
|
||||
|
||||
|
||||
class TestCommandLine(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue