diff options
| author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2022-11-16 18:15:02 +0200 |
|---|---|---|
| committer | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2022-11-16 18:15:02 +0200 |
| commit | a6f0856d807efc1e7bc37d13f9cfbcdb91dea2ac (patch) | |
| tree | 3a4827237c05b6fc7fa72e9404aebf17f4b36e80 /gitdb/test/lib.py | |
| parent | 5f149c1a9c36c985158c0757377af958362b3582 (diff) | |
| download | gitdb-a6f0856d807efc1e7bc37d13f9cfbcdb91dea2ac.tar.gz | |
Remove redundant Travis CI config/code
Diffstat (limited to 'gitdb/test/lib.py')
| -rw-r--r-- | gitdb/test/lib.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gitdb/test/lib.py b/gitdb/test/lib.py index abd4ad5..465a899 100644 --- a/gitdb/test/lib.py +++ b/gitdb/test/lib.py @@ -58,21 +58,6 @@ class TestBase(unittest.TestCase): #{ Decorators -def skip_on_travis_ci(func): - """All tests decorated with this one will raise SkipTest when run on travis ci. - Use it to workaround difficult to solve issues - NOTE: copied from bcore (https://github.com/Byron/bcore)""" - @wraps(func) - def wrapper(self, *args, **kwargs): - if 'TRAVIS' in os.environ: - import pytest - pytest.skip("Cannot run on travis-ci") - # end check for travis ci - return func(self, *args, **kwargs) - # end wrapper - return wrapper - - def with_rw_directory(func): """Create a temporary directory which can be written to, remove it if the test succeeds, but leave it otherwise to aid additional debugging""" |
