[CI] Fix TestDynamoTimed.test_ir_count for 3.12 (#154268)

Python-3.12 emits the same bytecode as 3.13 for code in question
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154268
Approved by: https://github.com/clee2000, https://github.com/atalman
ghstack dependencies: #154237
This commit is contained in:
Nikita Shulga 2025-05-23 13:04:47 -07:00 committed by PyTorch MergeBot
parent 28af44285b
commit acd0873d3b

View File

@ -481,7 +481,7 @@ class TestDynamoTimed(TestCase):
(3, 9): (10, 6),
(3, 10): (10, 6),
(3, 11): (10, 6),
(3, 12): (10, 6),
(3, 12): (11, 7),
(3, 13): (11, 7),
}[version]