mirror of https://github.com/MISP/PyMISP
fix: Hopefully last fix for python 2.7 & reportlab.
parent
0d6aa428ef
commit
c35a2aea55
|
@ -4,7 +4,6 @@
|
||||||
import unittest
|
import unittest
|
||||||
from pymisp import MISPEvent
|
from pymisp import MISPEvent
|
||||||
|
|
||||||
from pymisp.tools import reportlab_generator
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
@ -15,6 +14,8 @@ manual_testing = False
|
||||||
if sys.version_info < (3, 6):
|
if sys.version_info < (3, 6):
|
||||||
print('This test suite requires Python 3.6+, breaking.')
|
print('This test suite requires Python 3.6+, breaking.')
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
else:
|
||||||
|
from pymisp import reportlab_generator
|
||||||
|
|
||||||
|
|
||||||
class TestMISPEvent(unittest.TestCase):
|
class TestMISPEvent(unittest.TestCase):
|
||||||
|
|
Loading…
Reference in New Issue