SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

typing, annotationlib: clean tests (#133087)

- Add @cpython_only decorator to lazy import tests
- Rename reference to SOURCE format
- Always two newlines between test case classes
- Merge two classes of ForwardRef tests
- Use get_annotations instead of annotationlib.get_annotations
- Format test_annotationlib with Black (not expecting that we'll keep this up
  but it's close to Black-formatted right now)
J
Jelle Zijlstra committed
7f16f1bc114ea42ceb51ccb5008b74571a875f6b
Parent: 4cec0b5
Committed by GitHub <noreply@github.com> on 4/28/2025, 3:38:11 PM