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

Commit

Permalink
disable two test on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jan 20, 2018
1 parent e8d5845 commit 585ecf3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions _unittests/ut_filehelper/test_change_status.py
Expand Up @@ -23,7 +23,7 @@
import src import src


from src.pyquickhelper.loghelper import fLOG from src.pyquickhelper.loghelper import fLOG
from src.pyquickhelper.pycode import get_temp_folder from src.pyquickhelper.pycode import get_temp_folder, is_travis_or_appveyor
from src.pyquickhelper.filehelper import change_file_status from src.pyquickhelper.filehelper import change_file_status




Expand All @@ -40,10 +40,12 @@ def test_change_status(self):
with open(file, "w") as f: with open(file, "w") as f:
f.write("ah") f.write("ah")
change_file_status(temp) change_file_status(temp)
change_file_status(temp, strict=True) if is_travis_or_appveyor() not in ('circleci', 'travis'):
change_file_status(temp, strict=True)
change_file_status(file) change_file_status(file)
change_file_status(file, strict=True) if is_travis_or_appveyor() not in ('circleci', 'travis'):
change_file_status(file, strict=True, change_file_status(file, strict=True)
change_file_status(file, strict=False,
status=stat.S_IREAD, include_folder=True) status=stat.S_IREAD, include_folder=True)




Expand Down

0 comments on commit 585ecf3

Please sign in to comment.