MCPcopy Index your code
hub / github.com/RustPython/RustPython / namespace1

Method namespace1

Lib/test/test_annotationlib.py:1900–1907  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1898
1899 def test_forward_equality_namespace(self):
1900 def namespace1():
1901 a = ForwardRef("A")
1902
1903 def fun(x: a):
1904 pass
1905
1906 get_type_hints(fun, globals(), locals())
1907 return a
1908
1909 def namespace2():
1910 a = ForwardRef("A")

Callers

nothing calls this directly

Calls 4

ForwardRefClass · 0.90
get_type_hintsFunction · 0.90
globalsFunction · 0.85
localsFunction · 0.85

Tested by

no test coverage detected