diff --git a/kloppy/infra/serializers/event/wyscout/deserializer_v2.py b/kloppy/infra/serializers/event/wyscout/deserializer_v2.py index 7193069c..10702dac 100644 --- a/kloppy/infra/serializers/event/wyscout/deserializer_v2.py +++ b/kloppy/infra/serializers/event/wyscout/deserializer_v2.py @@ -556,8 +556,8 @@ def deserialize(self, inputs: WyscoutInputs) -> EventDataset: ) new_events.append(generic_event) - # Wyscout v2 does not have a seperate event type for - # interceptions. Interceptions are recored by adding a tag to + # Wyscout v2 does not have a separate event type for + # interceptions. Interceptions are recorded by adding a tag to # the next pass, touch or duel. Therefore, we convert events # with this tag to an interception. if _has_tag(raw_event, wyscout_tags.INTERCEPTION): diff --git a/kloppy/tests/test_wyscout.py b/kloppy/tests/test_wyscout.py index 2689875a..ad00cc49 100644 --- a/kloppy/tests/test_wyscout.py +++ b/kloppy/tests/test_wyscout.py @@ -55,7 +55,6 @@ def dataset(self, event_v2_data) -> EventDataset: def test_miscontrol_event(self, dataset: EventDataset): miscontrol_event = dataset.get_event_by_id("190078351") assert miscontrol_event.event_type == EventType.MISCONTROL - assert dataset.events[11].event_type == EventType.MISCONTROL def test_interception_event(self, dataset: EventDataset): # A touch or duel with "interception" tag should be converted to an interception event