Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
disable one test on travis, circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jan 9, 2018
1 parent d5d208b commit 8f215e0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _unittests/ut_filehelper/test_compress_helper_bug.py
Expand Up @@ -27,7 +27,7 @@
from src.pyquickhelper.loghelper import fLOG
from src.pyquickhelper.pycode import get_temp_folder, ExtTestCase
from src.pyquickhelper.filehelper import un7zip_files
# from src.pyquickhelper.pycode import is_travis_or_appveyor
from src.pyquickhelper.pycode import is_travis_or_appveyor


class TestCompressHelperBug(ExtTestCase):
Expand All @@ -38,6 +38,9 @@ def test_uncompress_7zip_lzma2(self):
self._testMethodName,
OutputPrint=__name__ == "__main__")

if is_travis_or_appveyor() in ('circleci', 'travis'):
# 7z not available
return
import pylzma
# use github version, not pypi version (2016-11-11)
# this version does not include a fix to read file produced by the
Expand All @@ -57,6 +60,9 @@ def test_uncompress_7zip_lzma2_cmd(self):
self._testMethodName,
OutputPrint=__name__ == "__main__")

if is_travis_or_appveyor() in ('circleci', 'travis'):
# 7z not available
return
import pylzma
# use github version, not pypi version (2016-11-11)
# this version does not include a fix to read file produced by the
Expand Down

0 comments on commit 8f215e0

Please sign in to comment.