mirror of https://github.com/MISP/PyMISP
fix: sys.api_version -> sys.version_info
parent
1cb1672998
commit
ab9e6aabf5
|
@ -444,7 +444,7 @@ class TestOffline(unittest.TestCase):
|
|||
self.assertEqual((False, None), pymisp.download_samples())
|
||||
|
||||
def test_sample_upload(self, m):
|
||||
if sys.api_version <= (3, 4):
|
||||
if sys.version_info <= (3, 4):
|
||||
return unittest.SkipTest()
|
||||
self.initURI(m)
|
||||
pymisp = PyMISP(self.domain, self.key)
|
||||
|
|
Loading…
Reference in New Issue