From: Kirill Podoprigora Date: Tue, 11 Jun 2024 07:56:38 +0000 (+0300) Subject: gh-120080: Mark test_round_with_none_arg_direct_call as cpython_only (#120328) X-Git-Tag: v3.14.0a1~1539 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02c1dfff073a3dd6ce34a11b038defde291c2203;p=thirdparty%2FPython%2Fcpython.git gh-120080: Mark test_round_with_none_arg_direct_call as cpython_only (#120328) --- diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py index 53695cefb8fd..756cf9bd7719 100644 --- a/Lib/test/test_float.py +++ b/Lib/test/test_float.py @@ -949,6 +949,7 @@ class RoundTestCase(unittest.TestCase): self.assertEqual(x, 2) self.assertIsInstance(x, int) + @support.cpython_only def test_round_with_none_arg_direct_call(self): for val in [(1.0).__round__(None), round(1.0), diff --git a/Lib/test/test_int.py b/Lib/test/test_int.py index 77221dfb6d5a..2747d9219255 100644 --- a/Lib/test/test_int.py +++ b/Lib/test/test_int.py @@ -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),