From 1cb167299846adf500217fecb794aafcfc97194c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 26 Jan 2018 21:36:09 +0100 Subject: [PATCH] chg: Skip sample upload test on python 3.4 --- tests/test_offline.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_offline.py b/tests/test_offline.py index acfe80042..ee22fb1d7 100644 --- a/tests/test_offline.py +++ b/tests/test_offline.py @@ -6,6 +6,7 @@ import json import os import six +import sys from io import BytesIO import pymisp as pm @@ -443,6 +444,8 @@ 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): + return unittest.SkipTest() self.initURI(m) pymisp = PyMISP(self.domain, self.key) upload = pymisp.upload_sample("tmux", "tests/viper-test-files/test_files/tmux" , 1)