Skip to content

Commit ca0af1b

Browse files
committed
Format Python sender input test
Wrap the sender-builder assertion in the Python unit test the\nway treefmt expects.\n\nThe PR was failing the formatting job on this one call site even\nthough the branch logic was already correct. Keeping the file in the\nformatter's preferred layout avoids a no-op CI failure on #1432.
1 parent 6992a2a commit ca0af1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

payjoin-ffi/python/test/test_payjoin_unit_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ def test_sender_builder_exposes_invalid_original_input_index(self):
247247
uri = receiver.pj_uri()
248248

249249
with self.assertRaises(payjoin.SenderInputError.Build) as ctx:
250-
payjoin.SenderBuilder(payjoin.invalid_original_input_psbt(), uri).build_non_incentivizing(
251-
1000
252-
)
250+
payjoin.SenderBuilder(
251+
payjoin.invalid_original_input_psbt(), uri
252+
).build_non_incentivizing(1000)
253253

254254
error = ctx.exception[0]
255255
self.assertEqual(error.invalid_original_input_index(), 0)

0 commit comments

Comments
 (0)