Skip to content

Commit f813a71

Browse files
huangsamCopilot
andauthored
Update ultimatepython/data_structures/dict_union.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f837b2b commit f813a71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ultimatepython/data_structures/dict_union.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def main() -> None:
175175
error_raised = False
176176
try:
177177
# This will fail because list is not a dict
178-
invalid = dict22 | [("b", 2)]
178+
dict22 | [("b", 2)]
179179
except TypeError:
180180
error_raised = True
181181
assert error_raised is True

0 commit comments

Comments
 (0)