Skip to content

Commit

Permalink
Fix assertEquals AttributeError on Python 3.12 (#3112)
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyWu authored Aug 22, 2024
1 parent 0733a38 commit 4cd675f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/py/dynamo/lowering/test_decompositions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,13 +1093,13 @@ def forward(self, input):
min_block_size=2,
)

self.assertEquals(
self.assertEqual(
len(expected_ops_unseen),
0,
f"The following expected ops were not encountered: {expected_ops_unseen}",
)

self.assertEquals(
self.assertEqual(
len(unexpected_ops_seen),
0,
f"The following expected ops were not encountered: {unexpected_ops_seen}",
Expand Down

0 comments on commit 4cd675f

Please sign in to comment.