Skip to content

Commit 910b3fc

Browse files
authored
closes bpo-33758: Skip test_get_type_hints_modules_forwardref. (GH-13977)
This test "works" if things are run in the right order, so it's better to use @Skip than @expectedfailure here.
1 parent 65aa64f commit 910b3fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_typing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pickle
44
import re
55
import sys
6-
from unittest import TestCase, main, skipUnless, SkipTest, expectedFailure
6+
from unittest import TestCase, main, skipUnless, SkipTest, skip
77
from copy import copy, deepcopy
88

99
from typing import Any, NoReturn
@@ -2654,7 +2654,7 @@ def test_get_type_hints_modules(self):
26542654
self.assertEqual(gth(ann_module2), {})
26552655
self.assertEqual(gth(ann_module3), {})
26562656

2657-
@expectedFailure
2657+
@skip("known bug")
26582658
def test_get_type_hints_modules_forwardref(self):
26592659
# FIXME: This currently exposes a bug in typing. Cached forward references
26602660
# don't account for the case where there are multiple types of the same

0 commit comments

Comments
 (0)