summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorda-woods <dw-git@d-woods.co.uk>2022-09-24 13:35:25 +0100
committerGitHub <noreply@github.com>2022-09-24 13:35:25 +0100
commitc2a54864217a6d4295c7f3748c15943da898b1c2 (patch)
tree015d40af661bbfd5a82218120da65ced500c6a00 /Tools
parentab1053b2b1171664038488cb6721b9e407fe5679 (diff)
downloadcython-c2a54864217a6d4295c7f3748c15943da898b1c2.tar.gz
Allow empty args to dataclass and field directives (#4957)
Part of the bug fixes in https://github.com/cython/cython/issues/4956
Diffstat (limited to 'Tools')
-rw-r--r--Tools/make_dataclass_tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Tools/make_dataclass_tests.py b/Tools/make_dataclass_tests.py
index 6a3cee7ac..25f43cc2d 100644
--- a/Tools/make_dataclass_tests.py
+++ b/Tools/make_dataclass_tests.py
@@ -111,6 +111,7 @@ skip_tests = frozenset(
("TestInit", "test_base_has_init"), # needs __dict__ for vars
# Requires arbitrary attributes to be writeable
("TestCase", "test_post_init_super"),
+ ('TestCase', 'test_init_in_order'),
# Cython being strict about argument types - expected difference
("TestDescriptors", "test_getting_field_calls_get"),
("TestDescriptors", "test_init_calls_set"),
@@ -129,10 +130,6 @@ skip_tests = frozenset(
# not possible to add attributes on extension types
("TestCase", "test_post_init_classmethod"),
# Bugs
- # ====
- ("TestCase", "test_no_options"), # @dataclass()
- ("TestCase", "test_field_no_default"), # field()
- ("TestCase", "test_init_in_order"), # field()
("TestCase", "test_hash_field_rules"), # compiler crash
("TestCase", "test_class_var"), # not sure but compiler crash
("TestCase", "test_field_order"), # invalid C code (__pyx_base?)