Skip to content

Commit

Permalink
Add regression test for #1765 (#4530)
Browse files Browse the repository at this point in the history
  • Loading branch information
MeGaGiGaGon authored Dec 23, 2024
1 parent ed33205 commit 0aabac4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/data/cases/annotations.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# regression test for #1765
class Foo:
def foo(self):
if True:
content_ids: Mapping[
str, Optional[ContentId]
] = self.publisher_content_store.store_config_contents(files)

# output

# regression test for #1765
class Foo:
def foo(self):
if True:
content_ids: Mapping[str, Optional[ContentId]] = (
self.publisher_content_store.store_config_contents(files)
)

0 comments on commit 0aabac4

Please sign in to comment.