Skip to content

Commit

Permalink
fix: sys.api_version -> sys.version_info
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 26, 2018
1 parent 1cb1672 commit ab9e6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def test_download_samples(self, m):
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)
Expand Down

0 comments on commit ab9e6aa

Please sign in to comment.