diff options
author | Guido van Rossum <guido@python.org> | 2016-10-21 17:30:29 -0700 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2016-10-21 17:30:29 -0700 |
commit | 3b557991d4a7626cf12baf2277bc87acbc439744 (patch) | |
tree | 798b4eb2de1d4ae448d7250de518556e268c0012 /Lib/test/test_typing.py | |
parent | ac353dfa143e76fbac3f3d5dbb2104e21be8f127 (diff) | |
download | cpython-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.py | 2 |
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), {}) |