File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313import pickle
1414import re
1515import sys
16- from unittest import TestCase , main , skip
16+ from unittest import TestCase , main
1717from unittest .mock import patch
1818from copy import copy , deepcopy
1919
@@ -6686,11 +6686,7 @@ def test_get_type_hints_modules(self):
66866686 self .assertEqual (gth (ann_module2 ), {})
66876687 self .assertEqual (gth (ann_module3 ), {})
66886688
6689- @skip ("known bug" )
66906689 def test_get_type_hints_modules_forwardref (self ):
6691- # FIXME: This currently exposes a bug in typing. Cached forward references
6692- # don't account for the case where there are multiple types of the same
6693- # name coming from different modules in the same program.
66946690 mgc_hints = {'default_a' : Optional [mod_generics_cache .A ],
66956691 'default_b' : Optional [mod_generics_cache .B ]}
66966692 self .assertEqual (gth (mod_generics_cache ), mgc_hints )
You can’t perform that action at this time.
0 commit comments