# Bug report ### Bug description: ```python eclips4@nixos ~/p/p/cpython (main)> ./python Lib/test/test_typing.py ...................................................................................................................................................................................................................................................................s.........................................................................................................................................................................................................................................................................................................................................F............................................................................................ ====================================================================== FAIL: test_annotations (__main__.TypedDictTests.test_annotations) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/eclips4/programming/programming-languages/cpython/Lib/test/test_typing.py", line 8832, in test_annotations self.assertEqual(Y.__annotations__, {'a': type(None), 'b': fwdref}) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: {'a': <class 'NoneType'>, 'b': ForwardRef('int', module='__main__')} != {'a': <class 'NoneType'>, 'b': ForwardRef('int', module='test.test_typing')} - {'a': <class 'NoneType'>, 'b': ForwardRef('int', module='__main__')} ? ^^^ ^^ + {'a': <class 'NoneType'>, 'b': ForwardRef('int', module='test.test_typing')} ? +++++++++ ^^^ ^ ---------------------------------------------------------------------- Ran 682 tests in 0.506s FAILED (failures=1, skipped=1) ``` ### CPython versions tested on: CPython main branch ### Operating systems tested on: Linux <!-- gh-linked-prs --> ### Linked PRs * gh-122836 <!-- /gh-linked-prs -->
Activity
gh-122835: Fix module name in ``test_typing`` (#122836)
pythongh-122835: Fix module name in ``test_typing`` (python#122836)