Skip to content

Commit

Permalink
fix: [tests] Removed typing
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisr3d committed Dec 18, 2024
1 parent 1e9258e commit a7cf9dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_analyst_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def test_analyst_data_object_object_attribute_alternative(self) -> None:
misp_object.add_attribute('filename', 'foo.exe')
self._attach_analyst_data(misp_object.attributes[0])

def _attach_analyst_data(
self, container: MISPAttribute | MISPEvent | MISPEventReport | MISPObject) -> None:
def _attach_analyst_data(self, container) -> None:
object_type = container._analyst_data_object_type
note1 = container.add_note(note='note1')
opinion1 = note1.add_opinion(opinion=25, comment='Disagree')
Expand Down

1 comment on commit a7cf9dc

@chrisr3d
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python 3.9 does not like it 🤓

Please sign in to comment.