add annotations for test success
@@ -198,6 +198,7 @@ class BaseStrTest:
s += _('A')
self.assertFalse(s.islower())
+ @unittest.skip("TODO: RUSTPYTHON, test failed only in BytesTest")
@bigmemtest(size=_2G, memuse=2)
def test_isspace(self, size):
_ = self.from_latin1
@@ -208,6 +209,7 @@ class BaseStrTest:
s += _('j')
self.assertFalse(s.isspace())
+ @unittest.skip("TODO: RUSTPYTHON, test failed only in BytesTest")
@bigmemtest(size=_2G, memuse=2)
def test_istitle(self, size):
_ = self.from_latin1
@@ -257,6 +259,7 @@ class BaseStrTest:
self.assertEqual(len(s), size)
self.assertEqual(s.count(_('a')), size)
+ @unittest.skip("TODO: RUSTPYTHON, test failed only in BytesTest")
@bigmemtest(size=_2G + 10, memuse=1)
def test_lstrip(self, size):
_ = self.from_latin1
@@ -329,6 +332,7 @@ class BaseStrTest:
self.assertEqual(len(s), size)
self.assertEqual(s.strip(), SUBSTR.strip())
+ @unittest.skip("TODO: RUSTPYTHON, test failed only in BytesTest")
@bigmemtest(size=_2G + 10, memuse=1)
def test_rstrip(self, size):
_ = self.from_latin1
@@ -638,6 +642,8 @@ class StrTest(unittest.TestCase, BaseStrTest):
except MemoryError:
pass # acceptable on 32-bit
+ # TODO: RUSTPYTHON
+ @unittest.expectedFailure
@bigmemtest(size=_4G // 4 + 5, memuse=ascii_char_size + ucs4_char_size + 4)
def test_encode_utf32(self, size):
try:
@@ -708,6 +714,8 @@ class StrTest(unittest.TestCase, BaseStrTest):
# original (Py_UCS2) one
# There's also some overallocation when resizing the ascii() result
# that isn't taken into account here.
+ # TODO: RUSTPYTHON
+ @unittest.expectedFailure
@bigmemtest(size=_2G // 5 + 1, memuse=ucs2_char_size +
ucs4_char_size + ascii_char_size * 6)
def test_unicode_repr(self, size):
