summaryrefslogtreecommitdiff
path: root/setuptools/tests/py26compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/py26compat.py')
-rw-r--r--setuptools/tests/py26compat.py14
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.