diff options
| author | Tim Graham <timograham@gmail.com> | 2017-09-14 08:24:03 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-09-14 08:24:03 -0400 |
| commit | ede1ba6b8e0af303dad7f38c17fab681fc822a05 (patch) | |
| tree | f2f1b9e2dd58004b84dec6b50630c6697bf79866 /dashboard | |
| parent | 0bdc1e9dbf4337f833d35c472fb2c60280b94ec0 (diff) | |
Removed inheritance of object to define new style classes.
Diffstat (limited to 'dashboard')
| -rw-r--r-- | dashboard/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/tests.py b/dashboard/tests.py index 4ea3b915..f92117eb 100644 --- a/dashboard/tests.py +++ b/dashboard/tests.py @@ -54,7 +54,7 @@ class ViewTests(TestCase): self.assertEqual(response.status_code, 200) -class MetricMixin(object): +class MetricMixin: def test_str(self): self.assertEqual(str(self.instance), self.instance.name) |
