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/dbshell | |
| parent | 042b7350a080cc964f913faf1cf7f0097f650a58 (diff) | |
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
Diffstat (limited to 'tests/dbshell')
| -rw-r--r-- | tests/dbshell/test_postgresql_psycopg2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dbshell/test_postgresql_psycopg2.py b/tests/dbshell/test_postgresql_psycopg2.py index f0848ac7b8..26090fb7f1 100644 --- a/tests/dbshell/test_postgresql_psycopg2.py +++ b/tests/dbshell/test_postgresql_psycopg2.py @@ -1,7 +1,8 @@ import os +from unittest import mock from django.db.backends.postgresql.client import DatabaseClient -from django.test import SimpleTestCase, mock +from django.test import SimpleTestCase class PostgreSqlDbshellCommandTestCase(SimpleTestCase): |
