Skip to content

Commit

Permalink
tests: Remove Python > 3.7 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrelg committed Aug 25, 2022
1 parent af7c9f6 commit d7e39b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_object_building.py
Expand Up @@ -159,7 +159,7 @@ def test_transmission_add_payment_cancellation_assertions():

# Test wrong assignment type
bad_assignment_type_assignment = transmission.add_assignment(
**(good_data | {'assignment_type': netsgiro.AssignmentType.AVTALEGIRO_AGREEMENTS})
**{**good_data, **{'assignment_type': netsgiro.AssignmentType.AVTALEGIRO_AGREEMENTS}}
)
with pytest.raises(
AssertionError, match='Can only add cancellation to cancellation assignments'
Expand Down

0 comments on commit d7e39b2

Please sign in to comment.