mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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)
This commit is contained in:
parent
4cec0b510b
commit
7f16f1bc11
2 changed files with 327 additions and 355 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue