summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_dataclasses/__init__.py (renamed from Lib/test/test_dataclasses.py)10
-rw-r--r--Lib/test/test_dataclasses/dataclass_module_1.py (renamed from Lib/test/dataclass_module_1.py)0
-rw-r--r--Lib/test/test_dataclasses/dataclass_module_1_str.py (renamed from Lib/test/dataclass_module_1_str.py)0
-rw-r--r--Lib/test/test_dataclasses/dataclass_module_2.py (renamed from Lib/test/dataclass_module_2.py)0
-rw-r--r--Lib/test/test_dataclasses/dataclass_module_2_str.py (renamed from Lib/test/dataclass_module_2_str.py)0
-rw-r--r--Lib/test/test_dataclasses/dataclass_textanno.py (renamed from Lib/test/dataclass_textanno.py)0
-rw-r--r--Makefile.pre.in1
7 files changed, 6 insertions, 5 deletions
diff --git a/Lib/test/test_dataclasses.py b/Lib/test/test_dataclasses/__init__.py
index bd8d824..7c07dfc 100644
--- a/Lib/test/test_dataclasses.py
+++ b/Lib/test/test_dataclasses/__init__.py
@@ -3684,10 +3684,10 @@ class TestStringAnnotations(unittest.TestCase):
self.assertEqual(C(10).x, 10)
def test_classvar_module_level_import(self):
- from test import dataclass_module_1
- from test import dataclass_module_1_str
- from test import dataclass_module_2
- from test import dataclass_module_2_str
+ from test.test_dataclasses import dataclass_module_1
+ from test.test_dataclasses import dataclass_module_1_str
+ from test.test_dataclasses import dataclass_module_2
+ from test.test_dataclasses import dataclass_module_2_str
for m in (dataclass_module_1, dataclass_module_1_str,
dataclass_module_2, dataclass_module_2_str,
@@ -3725,7 +3725,7 @@ class TestStringAnnotations(unittest.TestCase):
self.assertNotIn('not_iv4', c.__dict__)
def test_text_annotations(self):
- from test import dataclass_textanno
+ from test.test_dataclasses import dataclass_textanno
self.assertEqual(
get_type_hints(dataclass_textanno.Bar),
diff --git a/Lib/test/dataclass_module_1.py b/Lib/test/test_dataclasses/dataclass_module_1.py
index 87a33f8..87a33f8 100644
--- a/Lib/test/dataclass_module_1.py
+++ b/Lib/test/test_dataclasses/dataclass_module_1.py
diff --git a/Lib/test/dataclass_module_1_str.py b/Lib/test/test_dataclasses/dataclass_module_1_str.py
index 6de490b..6de490b 100644
--- a/Lib/test/dataclass_module_1_str.py
+++ b/Lib/test/test_dataclasses/dataclass_module_1_str.py
diff --git a/Lib/test/dataclass_module_2.py b/Lib/test/test_dataclasses/dataclass_module_2.py
index 68fb733..68fb733 100644
--- a/Lib/test/dataclass_module_2.py
+++ b/Lib/test/test_dataclasses/dataclass_module_2.py
diff --git a/Lib/test/dataclass_module_2_str.py b/Lib/test/test_dataclasses/dataclass_module_2_str.py
index b363d17..b363d17 100644
--- a/Lib/test/dataclass_module_2_str.py
+++ b/Lib/test/test_dataclasses/dataclass_module_2_str.py
diff --git a/Lib/test/dataclass_textanno.py b/Lib/test/test_dataclasses/dataclass_textanno.py
index 3eb6c94..3eb6c94 100644
--- a/Lib/test/dataclass_textanno.py
+++ b/Lib/test/test_dataclasses/dataclass_textanno.py
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 7b67738..eb8f8c4 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2156,6 +2156,7 @@ TESTSUBDIRS= idlelib/idle_test \
test/test_capi \
test/test_cppext \
test/test_ctypes \
+ test/test_dataclasses \
test/test_email \
test/test_email/data \
test/test_import \