Skip to content

Commit 950ae44

Browse files
committed
unskip test_set.py
1 parent f907419 commit 950ae44

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/test/test_set.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,8 @@ def test_init(self):
701701
s.__init__(self.otherword)
702702
self.assertEqual(s, set(self.word))
703703

704-
@unittest.skip("TODO: RUSTPYTHON")
704+
# TODO: RUSTPYTHON
705+
@unittest.expectedFailure
705706
def test_singleton_empty_frozenset(self):
706707
f = frozenset()
707708
efs = [frozenset(), frozenset([]), frozenset(()), frozenset(''),
@@ -921,7 +922,6 @@ def test_iteration(self):
921922
setiter = iter(self.set)
922923
self.assertEqual(setiter.__length_hint__(), len(self.set))
923924

924-
@unittest.skip("TODO: RUSTPYTHON")
925925
def test_pickling(self):
926926
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
927927
p = pickle.dumps(self.set, proto)
@@ -1788,7 +1788,6 @@ def __hash__(self):
17881788
return 0
17891789

17901790
class TestWeirdBugs(unittest.TestCase):
1791-
@unittest.skip("TODO: RUSTPYTHON")
17921791
def test_8420_set_merge(self):
17931792
# This used to segfault
17941793
global be_bad, set2, dict2
@@ -1815,7 +1814,8 @@ def test_iter_and_mutate(self):
18151814
s.update(range(100))
18161815
list(si)
18171816

1818-
@unittest.skip("TODO: RUSTPYTHON")
1817+
# TODO: RUSTPYTHON
1818+
@unittest.expectedFailure
18191819
def test_merge_and_mutate(self):
18201820
class X:
18211821
def __hash__(self):

0 commit comments

Comments
 (0)