diff options
author | Guido van Rossum <guido@python.org> | 2016-10-22 00:30:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2016-10-22 00:30:30 (GMT) |
commit | 7e0062fca85237e785ce41a638f682495beb7540 (patch) | |
tree | b6334d050058982c171abf4f52775487fea585b6 /Lib/test | |
parent | e238ab5c813903fd7ce34929fc984fd0f0627ea8 (diff) | |
parent | 3b557991d4a7626cf12baf2277bc87acbc439744 (diff) | |
download | cpython-7e0062fca85237e785ce41a638f682495beb7540.zip cpython-7e0062fca85237e785ce41a638f682495beb7540.tar.gz cpython-7e0062fca85237e785ce41a638f682495beb7540.tar.bz2 |
Two minor typing.py fixes (upstream #305) (3.5->3.6)
Diffstat (limited to 'Lib/test')
-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 fdbddb7..0d8532e 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), {}) |