diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-11 13:06:02 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-11 13:06:02 +0200 |
commit | 74c7ed0e809d6f3d691d8251c70f9a5dab5fb18d (patch) | |
tree | 70d43d2a2f75eaceba3e17d879a6ec9bdc84dbe6 /git/test/lib/helper.py | |
parent | 4e5ef73d3d6d9b973a756fddd329cfa2a24884e2 (diff) | |
download | gitpython-74c7ed0e809d6f3d691d8251c70f9a5dab5fb18d.tar.gz |
FIX #526: Do not depend on test-sources
+ Move `HIDE_WINDOWS_KNOWN_ERRORS` flag from
`git.test.lib.helper-->git.util`;
regular modules in main-sources folder also depend on that flag.
+ Use unittest.SkipTest instead of from non-standard `nose` lib.
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r-- | git/test/lib/helper.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index e92ce8b4..092068b9 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -31,11 +31,6 @@ __all__ = ( log = logging.getLogger('git.util') -#: We need an easy way to see if Appveyor TCs start failing, -#: so the errors marked with this var are considered "acknowledged" ones, awaiting remedy, -#: till then, we wish to hide them. -HIDE_WINDOWS_KNOWN_ERRORS = is_win and os.environ.get('HIDE_WINDOWS_KNOWN_ERRORS', True) - #{ Routines @@ -289,7 +284,7 @@ def with_rw_and_rw_remote_repo(working_tree_ref): You can also run the daemon on a different port by passing --port=<port>" and setting the environment variable GIT_PYTHON_TEST_GIT_DAEMON_PORT to <port> """ % temp_dir) - from nose import SkipTest + from unittest import SkipTest raise SkipTest(msg) if is_win else AssertionError(msg) # END make assertion # END catch ls remote error |