parent
1455ae4731
commit
e58baf15b9
@ -11,6 +11,14 @@
|
||||
# exactly line length limit + 1, it won't be split like that.
|
||||
xxxxxxxxx_yyy_zzzzzzzz[xx.xxxxxx(x_yyy_zzzzzz.xxxxx[0]), x_yyy_zzzzzz.xxxxxx(xxxx=1)] = 1
|
||||
|
||||
# Regression test for #1187
|
||||
print(
|
||||
dict(
|
||||
a=1,
|
||||
b=2 if some_kind_of_data is not None else some_other_kind_of_data, # some explanation of why this is actually necessary
|
||||
c=3,
|
||||
)
|
||||
)
|
||||
|
||||
# output
|
||||
|
||||
@ -36,3 +44,14 @@
|
||||
xxxxxxxxx_yyy_zzzzzzzz[
|
||||
xx.xxxxxx(x_yyy_zzzzzz.xxxxx[0]), x_yyy_zzzzzz.xxxxxx(xxxx=1)
|
||||
] = 1
|
||||
|
||||
# Regression test for #1187
|
||||
print(
|
||||
dict(
|
||||
a=1,
|
||||
b=(
|
||||
2 if some_kind_of_data is not None else some_other_kind_of_data
|
||||
), # some explanation of why this is actually necessary
|
||||
c=3,
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user