mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-25 19:43:47 +03:00
Resolve unittest compat
This commit is contained in:
parent
25c4c7f9fd
commit
24a2c3f5c3
|
@ -72,7 +72,7 @@ try:
|
||||||
import unittest
|
import unittest
|
||||||
unittest.skipUnless
|
unittest.skipUnless
|
||||||
except (ImportError, AttributeError):
|
except (ImportError, AttributeError):
|
||||||
from django.test.utils import unittest
|
from django.utils import unittest
|
||||||
|
|
||||||
|
|
||||||
# contrib.postgres only supported from 1.8 onwards.
|
# contrib.postgres only supported from 1.8 onwards.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user