8000 explanatory comment · python/mypy@802b947 · GitHub
[go: up one dir, main page]

Skip to content

Commit 802b947

Browse files
wesleywrightJelleZijlstra
authored andcommitted
explanatory comment
1 parent c29c173 commit 802b947

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test-data/unit/fine-grained-dataclass-transform.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,12 @@ class Foo(Base):
130130
[typing fixtures/typing-full.pyi]
131131
[builtins fixtures/dataclasses.pyi]
132132

133+
# If the frozen parameter is being maintained correctly, we *don't* expect to see issues; if it's
134+
# broken in incremental mode, then we'll see an error about inheriting a non-frozen class from a
135+
# frozen one.
136+
#
137+
# Ideally we'd also add a `foo.foo = 2` to confirm that frozen semantics are actually being
138+
# enforced, but incremental tests currently can't start with an error, which makes it tricky to
139+
# write such a test case.
133140
[out]
134141
==

0 commit comments

Comments
 (0)
0