summaryrefslogtreecommitdiff
path: root/tests/testutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testutils.py')
-rw-r--r--tests/testutils.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/testutils.py b/tests/testutils.py
index 5c192e3..4e1ee37 100644
--- a/tests/testutils.py
+++ b/tests/testutils.py
@@ -248,19 +248,6 @@ def skip_if_tpc_disabled(f):
return skip_if_tpc_disabled_
-def skip_if_no_namedtuple(f):
- @wraps(f)
- def skip_if_no_namedtuple_(self):
- try:
- from collections import namedtuple # noqa
- except ImportError:
- return self.skipTest("collections.namedtuple not available")
- else:
- return f(self)
-
- return skip_if_no_namedtuple_
-
-
def skip_if_no_iobase(f):
"""Skip a test if io.TextIOBase is not available."""
@wraps(f)