summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pycadf/cadftype.py3
-rw-r--r--test-requirements.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/pycadf/cadftype.py b/pycadf/cadftype.py
index 87de7da..40950c1 100644
--- a/pycadf/cadftype.py
+++ b/pycadf/cadftype.py
@@ -70,7 +70,8 @@ class ValidatorDescriptor(object):
raise ValueError('%s must not be None.' % self.name)
-class CADFAbstractType(six.with_metaclass(abc.ABCMeta, object)):
+@six.add_metaclass(abc.ABCMeta)
+class CADFAbstractType(object):
"""The abstract base class for all CADF (complex) data types (classes)."""
@abc.abstractmethod
diff --git a/test-requirements.txt b/test-requirements.txt
index 3357df5..b512f0f 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Hacking already pins down pep8, pyflakes and flake8
-hacking>=0.9.2,<0.10
+hacking>=0.10.0,<0.11
coverage>=3.6
discover