summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-11 09:52:15 -0700
committerGitHub <noreply@github.com>2019-06-11 09:52:15 -0700
commitfad89046e14b271b2eeb399f7c7b45131d65e5f2 (patch)
treea509c13fee421f9745d628db343f95d8730bb6ca /Lib
parent5d1d4e3179ffd4d2d72462d870cf86dcc11450ce (diff)
downloadcpython-git-fad89046e14b271b2eeb399f7c7b45131d65e5f2.tar.gz
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. (cherry picked from commit 910b3fcb01c29f18ffd53086e36cd2cb9e5fae55) Co-authored-by: Benjamin Peterson <benjamin@python.org>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index ffd2007ee7..b396283a02 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -3,7 +3,7 @@ import collections
import pickle
import re
import sys
-from unittest import TestCase, main, skipUnless, SkipTest, expectedFailure
+from unittest import TestCase, main, skipUnless, SkipTest, skip
from copy import copy, deepcopy
from typing import Any, NoReturn
@@ -1804,7 +1804,7 @@ class GetTypeHintTests(BaseTestCase):
self.assertEqual(gth(ann_module2), {})
self.assertEqual(gth(ann_module3), {})
- @expectedFailure
+ @skip("known bug")
def test_get_type_hints_modules_forwardref(self):
# FIXME: This currently exposes a bug in typing. Cached forward references
# don't account for the case where there are multiple types of the same