diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-01 16:48:11 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-01 16:48:11 -0500 |
| commit | 4f9b50728ae8c5cf81b13b2d4fd3098b9f18dfb1 (patch) | |
| tree | 6ea10c9e02a27ae63172513ed1a5b8e6ccfa866f /setuptools/tests/py26compat.py | |
| parent | c04985bc9b29c2e181697b10059e99fc77ef532d (diff) | |
| download | python-setuptools-git-4f9b50728ae8c5cf81b13b2d4fd3098b9f18dfb1.tar.gz | |
Use pytest for skips
Diffstat (limited to 'setuptools/tests/py26compat.py')
| -rw-r--r-- | setuptools/tests/py26compat.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/setuptools/tests/py26compat.py b/setuptools/tests/py26compat.py index b1ffa877..c53b4809 100644 --- a/setuptools/tests/py26compat.py +++ b/setuptools/tests/py26compat.py @@ -1,21 +1,7 @@ import sys -import unittest import tarfile import contextlib -try: - # provide skipIf for Python 2.4-2.6 - skipIf = unittest.skipIf -except AttributeError: - def skipIf(condition, reason): - def skipper(func): - def skip(*args, **kwargs): - return - if condition: - return skip - return func - return skipper - def _tarfile_open_ex(*args, **kwargs): """ Extend result as a context manager. |
