Skip to content

Commit e536ebd

Browse files
committed
Mark failing tests
1 parent b5f3d0c commit e536ebd

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

Lib/test/test_class.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ def assertNotOrderable(self, a, b):
614614
with self.assertRaises(TypeError):
615615
a >= b
616616

617+
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; AssertionError: 1543448294720 != 1543448295392")
617618
def testHashComparisonOfMethods(self):
618619
# Test comparison and hash of methods
619620
class A:

Lib/test/test_format.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ def test_non_ascii(self):
423423
self.assertEqual(format(1+2j, "\u2007^8"), "\u2007(1+2j)\u2007")
424424
self.assertEqual(format(0j, "\u2007^4"), "\u20070j\u2007")
425425

426+
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; AssertionError: ',' not found in '123456789'")
426427
def test_locale(self):
427428
try:
428429
oldloc = locale.setlocale(locale.LC_ALL)

Lib/test/test_math.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,7 @@ def testRadians(self):
17381738
self.ftest('radians(-45)', math.radians(-45), -math.pi/4)
17391739
self.ftest('radians(0)', math.radians(0), 0)
17401740

1741+
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; Error message too long")
17411742
@requires_IEEE_754
17421743
def testRemainder(self):
17431744
from fractions import Fraction

Lib/test/test_types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ def test(i, format_spec, result):
431431
test(123456, "1=20", '11111111111111123456')
432432
test(123456, "*=20", '**************123456')
433433

434+
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; AssertionError: '1,234.57' != '1234.57'")
434435
@run_with_locale('LC_NUMERIC', 'en_US.UTF8', '')
435436
def test_float__format__locale(self):
436437
# test locale support for __format__ code 'n'
@@ -440,6 +441,7 @@ def test_float__format__locale(self):
440441
self.assertEqual(locale.format_string('%g', x, grouping=True), format(x, 'n'))
441442
self.assertEqual(locale.format_string('%.10g', x, grouping=True), format(x, '.10n'))
442443

444+
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON; AssertionError: '123,456,789,012,345,678,901,234,567,890' != '123456789012345678901234567890'")
443445
@run_with_locale('LC_NUMERIC', 'en_US.UTF8', '')
444446
def test_int__format__locale(self):
445447
# test locale support for __format__ code 'n' for integers

0 commit comments

Comments
 (0)