Skip to content

Commit 253ecda

Browse files
committed
Clean up skips in test_unittest
1 parent e5acfc3 commit 253ecda

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Lib/unittest/test/test_case.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,6 @@ def testEquality(self):
771771
self.assertRaises(self.failureException, self.assertDictEqual, [], d)
772772
self.assertRaises(self.failureException, self.assertDictEqual, 1, 1)
773773

774-
@unittest.skip("TODO: RUSTPYTHON; improve sre performance")
775774
def testAssertSequenceEqualMaxDiff(self):
776775
self.assertEqual(self.maxDiff, 80*8)
777776
seq1 = 'a' + 'x' * 80**2
@@ -915,7 +914,6 @@ def testAssertEqual_shorten(self):
915914
d = 'y' * 40 + '[56 chars]yyyy'
916915
self.assertEqual(str(cm.exception), "'%sa%s' != '%sb%s'" % (c, d, c, d))
917916

918-
@unittest.skip("TODO: RUSTPYTHON; weird behavior with typing generics in collections.Counter() constructor")
919917
def testAssertCountEqual(self):
920918
a = object()
921919
self.assertCountEqual([1, 2, 3], [3, 2, 1])
@@ -1404,7 +1402,6 @@ def _runtime_warn():
14041402
with self.assertRaises(RuntimeWarning):
14051403
self.assertWarns(DeprecationWarning, _runtime_warn)
14061404

1407-
@unittest.skip("TODO: RUSTPYTHON; tokenize.generate_tokens")
14081405
def testAssertWarnsContext(self):
14091406
# Believe it or not, it is preferable to duplicate all tests above,
14101407
# to make sure the __warningregistry__ $@ is circumvented correctly.
@@ -1501,7 +1498,6 @@ def _runtime_warn(msg):
15011498
self.assertWarnsRegex(RuntimeWarning, "o+",
15021499
_runtime_warn, "barz")
15031500

1504-
@unittest.skip("TODO: RUSTPYTHON; tokenize.generate_tokens")
15051501
def testAssertWarnsRegexContext(self):
15061502
# Same as above, but with assertWarnsRegex as a context manager
15071503
def _runtime_warn(msg):

0 commit comments

Comments
 (0)