Skip to content

Commit 18b7d5c

Browse files
committed
Mark failing tests as expectedFailure for test_dataclasses and test_genericalias
- test_dataclasses: test_recursive_annotation - test_genericalias: test_subscriptable, test_weakref (memoryview, Template, Interpolation, py_object)
1 parent f1b1d9d commit 18b7d5c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Lib/test/test_dataclasses/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def test_field_recursive_repr(self):
8686

8787
self.assertIn(",type=...,", repr_output)
8888

89+
@unittest.expectedFailure # TODO: RUSTPYTHON; recursive annotation type not shown as ...
8990
def test_recursive_annotation(self):
9091
class C:
9192
pass

Lib/test/test_genericalias.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ class BaseTest(unittest.TestCase):
152152
if Event is not None:
153153
generic_types.append(Event)
154154

155+
@unittest.expectedFailure # TODO: RUSTPYTHON; memoryview, Template, Interpolation, py_object not subscriptable
155156
def test_subscriptable(self):
156157
for t in self.generic_types:
157158
if t is None:
@@ -510,6 +511,7 @@ def test_dir(self):
510511
with self.subTest(entry=entry):
511512
getattr(ga, entry) # must not raise `AttributeError`
512513

514+
@unittest.expectedFailure # TODO: RUSTPYTHON; memoryview, Template, Interpolation, py_object not subscriptable
513515
def test_weakref(self):
514516
for t in self.generic_types:
515517
if t is None:

0 commit comments

Comments
 (0)