diff --git a/requirements-dev.txt b/requirements-dev.txt index 39bbeee4..d9db059d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,8 +10,6 @@ twine # Tests flake8 -# mock>1.0.1 requires setuptools>17 -mock<=1.0.1 py pytest pytest-datafiles diff --git a/tests/__init__.py b/tests/__init__.py index 7a99ea33..2c5f80ea 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,7 +2,7 @@ import os import datetime -import mock +from unittest import mock from io import StringIO import py diff --git a/tests/test_utils.py b/tests/test_utils.py index 14612846..b993767f 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -9,7 +9,7 @@ import datetime import operator from io import StringIO -from mock import patch +from unittest.mock import patch import pytest from click.exceptions import Abort from dateutil.tz import tzutc