Skip to content

Commit

Permalink
fix wyscout test
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesDeprest committed Dec 16, 2024
1 parent 84b08e6 commit 31eefa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kloppy/tests/test_wyscout.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ def test_formation_change_event(self, dataset: EventDataset):
len(dataset.find_all("formation_change")) == 2
) # We shouldn't recognize the change to 4-4-1 as a formation change
formation_change_event = dataset.get_event_by_id(
"synthetic-3166-1397082780"
"synthetic-3164-1927029462"
)
assert formation_change_event.event_type == EventType.FORMATION_CHANGE
assert (
formation_change_event.formation_type
== FormationType.FOUR_THREE_THREE
== FormationType.FOUR_THREE_ONE_TWO
)

0 comments on commit 31eefa3

Please sign in to comment.