summaryrefslogtreecommitdiff
path: root/Lib/test/test_typing.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-10-21 17:30:29 -0700
committerGuido van Rossum <guido@python.org>2016-10-21 17:30:29 -0700
commit3b557991d4a7626cf12baf2277bc87acbc439744 (patch)
tree798b4eb2de1d4ae448d7250de518556e268c0012 /Lib/test/test_typing.py
parentac353dfa143e76fbac3f3d5dbb2104e21be8f127 (diff)
downloadcpython-git-3b557991d4a7626cf12baf2277bc87acbc439744.tar.gz
Two minor typing.py fixes (upstream #305)
Diffstat (limited to 'Lib/test/test_typing.py')
-rw-r--r--Lib/test/test_typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index fdbddb77c8..0d8532ebb7 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -1182,7 +1182,7 @@ gth = get_type_hints
class GetTypeHintTests(BaseTestCase):
@skipUnless(PY36, 'Python 3.6 required')
def test_get_type_hints_modules(self):
- self.assertEqual(gth(ann_module), {'x': int, 'y': str})
+ self.assertEqual(gth(ann_module), {1: 2, 'f': Tuple[int, int], 'x': int, 'y': str})
self.assertEqual(gth(ann_module2), {})
self.assertEqual(gth(ann_module3), {})