chg: Make python 3.9 happy

main
Raphaël Vinot 2024-12-20 15:38:25 +01:00
parent fb45f2a07b
commit 17cac2b29c
No known key found for this signature in database
GPG Key ID: 32E4E1C133B3792F
1 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python
from __future__ import annotations
import unittest
from pymisp import (MISPAttribute, MISPEvent, MISPEventReport, MISPNote,
MISPObject, MISPOpinion)
@ -119,4 +121,3 @@ class TestAnalystData(unittest.TestCase):
self.assertEqual(misp_opinion3.object_uuid, note3.uuid)
self.assertEqual(misp_opinion3.opinion, 75)
self.assertEqual(misp_opinion3.comment, 'Agree')