Skip to content

Commit

Permalink
Test was backported
Browse files Browse the repository at this point in the history
  • Loading branch information
Daraan committed Oct 30, 2024
1 parent 46d3efa commit 2261fd1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/test_typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8620,7 +8620,6 @@ def test_fwdref_to_builtin(self):
# builtins are still searched with explicit globals
self.assertIs(evaluate_forward_ref(typing.ForwardRef("int"), globals={}), int)

@skipIf(sys.version_info[:2] < (3, 10), "Forward references must evaluate to types, i.e. not a callable")
def test_fwdref_with_globals(self):
# explicit values in globals have precedence
obj = object()
Expand Down

0 comments on commit 2261fd1

Please sign in to comment.