fix: Hopefully last fix for python 2.7 & reportlab.

pull/362/head
Raphaël Vinot 2019-02-27 23:53:47 -08:00
parent 0d6aa428ef
commit c35a2aea55
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,6 @@
import unittest
from pymisp import MISPEvent
from pymisp.tools import reportlab_generator
import sys
import os
@ -15,6 +14,8 @@ manual_testing = False
if sys.version_info < (3, 6):
print('This test suite requires Python 3.6+, breaking.')
sys.exit(0)
else:
from pymisp import reportlab_generator
class TestMISPEvent(unittest.TestCase):