summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-11 16:37:59 (GMT)
committerGitHub <noreply@github.com>2019-06-11 16:37:59 (GMT)
commit1c31d19e35172c7de1beec5c48a5b632d16385d9 (patch)
treebf80f72676a3a6ac3e65324a16e4b47311b9a8cf /Lib/test/test_typing.py
parent583ff84351e528976aa93d383e5a81aee9f3bac3 (diff)
downloadcpython-1c31d19e35172c7de1beec5c48a5b632d16385d9.zip
cpython-1c31d19e35172c7de1beec5c48a5b632d16385d9.tar.gz
cpython-1c31d19e35172c7de1beec5c48a5b632d16385d9.tar.bz2
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/test/test_typing.py')
-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 a65d639..ba001c3 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
@@ -2654,7 +2654,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