gh-120080: Mark test_round_with_none_arg_direct_call as cpython_only (#120328)

This commit is contained in:
Kirill Podoprigora 2024-06-11 10:56:38 +03:00 committed by GitHub
parent 7d2447137e
commit 02c1dfff07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -517,6 +517,7 @@ class IntTestCases(unittest.TestCase):
self.assertEqual(int('1_2_3_4_5_6_7_8_9', 16), 0x123456789)
self.assertEqual(int('1_2_3_4_5_6_7', 32), 1144132807)
@support.cpython_only
def test_round_with_none_arg_direct_call(self):
for val in [(1).__round__(None),
round(1),