File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414import re
1515import sys
1616import warnings
17- from unittest import TestCase , main , skip
17+ from unittest import TestCase , main
1818from unittest .mock import patch
1919from copy import copy , deepcopy
2020
@@ -6796,11 +6796,7 @@ def test_get_type_hints_modules(self):
67966796 self .assertEqual (gth (ann_module2 ), {})
67976797 self .assertEqual (gth (ann_module3 ), {})
67986798
6799- @skip ("known bug" )
68006799 def test_get_type_hints_modules_forwardref (self ):
6801- # FIXME: This currently exposes a bug in typing. Cached forward references
6802- # don't account for the case where there are multiple types of the same
6803- # name coming from different modules in the same program.
68046800 mgc_hints = {'default_a' : Optional [mod_generics_cache .A ],
68056801 'default_b' : Optional [mod_generics_cache .B ]}
68066802 self .assertEqual (gth (mod_generics_cache ), mgc_hints )
You can’t perform that action at this time.
0 commit comments