diff options
Diffstat (limited to 'tests/test_pandora/test_models.py')
-rw-r--r-- | tests/test_pandora/test_models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pandora/test_models.py b/tests/test_pandora/test_models.py index 410b0de..13ca366 100644 --- a/tests/test_pandora/test_models.py +++ b/tests/test_pandora/test_models.py | |||
@@ -1,6 +1,6 @@ | |||
1 | from unittest import TestCase | 1 | from unittest import TestCase |
2 | from datetime import datetime | 2 | from datetime import datetime |
3 | from pandora.py2compat import Mock, patch | 3 | from unittest.mock import Mock, patch |
4 | 4 | ||
5 | from pandora.client import APIClient | 5 | from pandora.client import APIClient |
6 | from pandora.errors import ParameterMissing | 6 | from pandora.errors import ParameterMissing |
@@ -21,7 +21,7 @@ class TestField(TestCase): | |||
21 | 21 | ||
22 | class TestModelMetaClass(TestCase): | 22 | class TestModelMetaClass(TestCase): |
23 | 23 | ||
24 | class TestModel(m.with_metaclass(m.ModelMetaClass, object)): | 24 | class TestModel(object, metaclass=m.ModelMetaClass): |
25 | 25 | ||
26 | foo = "bar" | 26 | foo = "bar" |
27 | a_field = m.Field("testing") | 27 | a_field = m.Field("testing") |