Skip to content

Commit d4dd768

Browse files
committed
a few explanations
1 parent 2eaab58 commit d4dd768

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/cases/forward_reference.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414

1515
for module in [dataclasses, attr]:
16+
# Type ignores are just here for now instead of figuring out how to
17+
# handle these properly.
1618

1719
@module.dataclass # type: ignore[attr-defined]
1820
class A:

tests/test_make.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ class B:
434434

435435

436436
@pytest.mark.xfail(
437+
# type ignored due to foss.heptapod.net/pypy/pypy/-/issues/3129
437438
condition=sys.implementation.name == "pypy" and sys.pypy_version_info < (7, 2), # type: ignore[attr-defined]
438439
reason="Forward references and string annotations are broken in PyPy3 < 7.2",
439440
strict=True,

0 commit comments

Comments
 (0)