black/tests/data/cases/walrus_in_dict.py
2024-01-24 17:06:14 -08:00

10 lines
269 B
Python

# flags: --preview
# This is testing an issue that is specific to the preview style
{
"is_update": (up := commit.hash in update_hashes)
}
# output
# This is testing an issue that is specific to the preview style
{"is_update": (up := commit.hash in update_hashes)}