Remove some tests from PLATFORM_INDEPENDENT_TESTS (#7459)

* Remove some platform dependent tests

* Mark failing tests
This commit is contained in:
Shahar Naveh authored and GitHub committed 2026-03-18 21:55:56 +09:00
1 parent 62edc4722a
commit f2765982cd
5 files changed
+5 -4

No files matched your search

-4
View File
@@ -187,7 +187,6 @@ jobs:
test_bool
test_bytes
test_call
test_class
test_cmath
test_collections
test_complex
@@ -205,7 +204,6 @@ jobs:
test_enumerate
test_exception_variations
test_float
test_format
test_fractions
test_genericalias
test_genericclass
@@ -224,7 +222,6 @@ jobs:
test_list
test_long
test_longexp
test_math
test_operator
test_ordered_dict
test_pep646_syntax
@@ -244,7 +241,6 @@ jobs:
test_syntax
test_tstring
test_tuple
test_types
test_unary
test_unpack
test_unpack_ex
+1
View File
@@ -614,6 +614,7 @@ class ClassTests(unittest.TestCase):
with self.assertRaises(TypeError):
a >= b
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; AssertionError: 1543448294720 != 1543448295392")
def testHashComparisonOfMethods(self):
# Test comparison and hash of methods
class A:
+1
View File
@@ -423,6 +423,7 @@ class FormatTest(unittest.TestCase):
self.assertEqual(format(1+2j, "\u2007^8"), "\u2007(1+2j)\u2007")
self.assertEqual(format(0j, "\u2007^4"), "\u20070j\u2007")
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; AssertionError: ',' not found in '123456789'")
def test_locale(self):
try:
oldloc = locale.setlocale(locale.LC_ALL)
+1
View File
@@ -1738,6 +1738,7 @@ class MathTests(unittest.TestCase):
self.ftest('radians(-45)', math.radians(-45), -math.pi/4)
self.ftest('radians(0)', math.radians(0), 0)
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; Error message too long")
@requires_IEEE_754
def testRemainder(self):
from fractions import Fraction
+2
View File
@@ -431,6 +431,7 @@ class TypesTests(unittest.TestCase):
test(123456, "1=20", '11111111111111123456')
test(123456, "*=20", '**************123456')
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; AssertionError: '1,234.57' != '1234.57'")
@run_with_locale('LC_NUMERIC', 'en_US.UTF8', '')
def test_float__format__locale(self):
# test locale support for __format__ code 'n'
@@ -440,6 +441,7 @@ class TypesTests(unittest.TestCase):
self.assertEqual(locale.format_string('%g', x, grouping=True), format(x, 'n'))
self.assertEqual(locale.format_string('%.10g', x, grouping=True), format(x, '.10n'))
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; AssertionError: '123,456,789,012,345,678,901,234,567,890' != '123456789012345678901234567890'")
@run_with_locale('LC_NUMERIC', 'en_US.UTF8', '')
def test_int__format__locale(self):
# test locale support for __format__ code 'n' for integers