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