summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-10-21 17:30:31 -0700
committerGuido van Rossum <guido@python.org>2016-10-21 17:30:31 -0700
commite86c1d109147f3892656977fb5487f6f37af6a56 (patch)
treebe9edfc80cd643a24aa780f8ee3bc604545280fa /Lib/test
parentfb76519110f8e08761b0602a88eaefdff877e110 (diff)
parent7e0062fca85237e785ce41a638f682495beb7540 (diff)
downloadcpython-git-e86c1d109147f3892656977fb5487f6f37af6a56.tar.gz
Two minor typing.py fixes (upstream #305) (3.6->3.7)
Diffstat (limited to 'Lib/test')
-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), {})