diff options
| author | Tim Graham <timograham@gmail.com> | 2017-01-19 12:16:04 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-20 08:17:20 -0500 |
| commit | 7aba69145dcb436539a7798086748b73a39121e5 (patch) | |
| tree | 8f1f4edeec13f02916366e8c961c3028ec0b6560 /tests/postgres_tests/migrations | |
| parent | 042b7350a080cc964f913faf1cf7f0097f650a58 (diff) | |
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
Diffstat (limited to 'tests/postgres_tests/migrations')
| -rw-r--r-- | tests/postgres_tests/migrations/0001_setup_extensions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/postgres_tests/migrations/0001_setup_extensions.py b/tests/postgres_tests/migrations/0001_setup_extensions.py index 7add08c499..6342ba7732 100644 --- a/tests/postgres_tests/migrations/0001_setup_extensions.py +++ b/tests/postgres_tests/migrations/0001_setup_extensions.py @@ -1,3 +1,5 @@ +from unittest import mock + from django.db import migrations try: @@ -6,7 +8,6 @@ try: TrigramExtension, UnaccentExtension, ) except ImportError: - from django.test import mock BtreeGinExtension = mock.Mock() CreateExtension = mock.Mock() HStoreExtension = mock.Mock() |
