Skip to content

Commit

Permalink
Removed mock dependency (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
smithdc1 committed Nov 10, 2020
1 parent 432647c commit 4cb4d2d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion simple_history/tests/tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.test.utils import override_settings
from django.urls import reverse
import django
from mock import ANY, patch
from unittest.mock import ANY, patch

from simple_history.admin import SimpleHistoryAdmin
from simple_history.models import HistoricalRecords
Expand Down
2 changes: 1 addition & 1 deletion simple_history/tests/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.db import IntegrityError
from django.test import TestCase, TransactionTestCase
from django.utils import timezone
from mock import Mock, patch
from unittest.mock import Mock, patch

from simple_history.exceptions import AlternativeManagerError, NotHistoricalModelError
from simple_history.tests.models import (
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ python =
deps =
coverage
codecov
mock==1.0.1
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
Expand Down

0 comments on commit 4cb4d2d

Please sign in to comment.