Skip to content

Commit f0269c6

Browse files
Update Lib/test/test_typing.py
Co-authored-by: Alex Waygood <[email protected]>
1 parent b1f050e commit f0269c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_typing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7297,7 +7297,8 @@ def test_owner(self):
72977297
with self.assertRaises(NameError):
72987298
typing.evaluate_forward_ref(ref)
72997299

7300-
# Now should pick up the globals of this module
7300+
# We default to the globals of `owner`,
7301+
# so it no longer raises `NameError`
73017302
self.assertIs(
73027303
typing.evaluate_forward_ref(ref, owner=Loop), A
73037304
)

0 commit comments

Comments
 (0)