Skip to content

Commit 02c1dff

Browse files
authored
gh-120080: Mark test_round_with_none_arg_direct_call as cpython_only (#120328)
1 parent 7d24471 commit 02c1dff

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Lib/test/test_float.py

+1
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,7 @@ def test_None_ndigits(self):
949949
self.assertEqual(x, 2)
950950
self.assertIsInstance(x, int)
951951

952+
@support.cpython_only
952953
def test_round_with_none_arg_direct_call(self):
953954
for val in [(1.0).__round__(None),
954955
round(1.0),

Lib/test/test_int.py

+1
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ def test_issue31619(self):
517517
self.assertEqual(int('1_2_3_4_5_6_7_8_9', 16), 0x123456789)
518518
self.assertEqual(int('1_2_3_4_5_6_7', 32), 1144132807)
519519

520+
@support.cpython_only
520521
def test_round_with_none_arg_direct_call(self):
521522
for val in [(1).__round__(None),
522523
round(1),

0 commit comments

Comments
 (0)