aboutsummaryrefslogtreecommitdiff
path: root/tests/test_pandora/test_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pandora/test_models.py')
-rw-r--r--tests/test_pandora/test_models.py4
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 @@
1from unittest import TestCase 1from unittest import TestCase
2from datetime import datetime 2from datetime import datetime
3from pandora.py2compat import Mock, patch 3from unittest.mock import Mock, patch
4 4
5from pandora.client import APIClient 5from pandora.client import APIClient
6from pandora.errors import ParameterMissing 6from pandora.errors import ParameterMissing
@@ -21,7 +21,7 @@ class TestField(TestCase):
21 21
22class TestModelMetaClass(TestCase): 22class 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")