mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-108303: Create Lib/test/test_dataclasses/ directory (#108978)
Move test_dataclasses.py and its "dataclass_*.py" modules into the new Lib/test/test_dataclasses/ subdirectory.
This commit is contained in:
parent
1fb20d42c5
commit
14d6e197cc
7 changed files with 6 additions and 5 deletions
12
Lib/test/test_dataclasses/dataclass_textanno.py
Normal file
12
Lib/test/test_dataclasses/dataclass_textanno.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import dataclasses
|
||||
|
||||
|
||||
class Foo:
|
||||
pass
|
||||
|
||||
|
||||
@dataclasses.dataclass
|
||||
class Bar:
|
||||
foo: Foo
|
Loading…
Add table
Add a link
Reference in a new issue