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

Commit

Permalink
disable unit test on Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Aug 27, 2016
1 parent 04c319a commit 0422b73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _unittests/ut_install/test_download_pip.py
Expand Up @@ -66,6 +66,9 @@ def test_install_pip_deps(self):
__file__,
self._testMethodName,
OutputPrint=__name__ == "__main__")
if sys.version_info[0] == 2:
# disabled on python 2.7
return
fold = get_temp_folder(__file__, "temp_download_pip_deps")
# This test can fail if the latest version of pyquickhelper is not
# available for Python 2.7
Expand Down
3 changes: 3 additions & 0 deletions _unittests/ut_install/test_install.py
Expand Up @@ -50,6 +50,9 @@ def test_run_cmd(self):
__file__,
self._testMethodName,
OutputPrint=__name__ == "__main__")
if sys.version_info[0] == 2:
# disabled on python 2.7
return
out, err = run_cmd("find", wait=True)

def test_install(self):
Expand Down

0 comments on commit 0422b73

Please sign in to comment.