| |
@@ -0,0 +1,57 @@
|
| |
+ diff --git a/pymemcache/test/test_client.py b/pymemcache/test/test_client.py
|
| |
+ index 6094acb..6920a90 100644
|
| |
+ --- a/pymemcache/test/test_client.py
|
| |
+ +++ b/pymemcache/test/test_client.py
|
| |
+ @@ -20,12 +20,12 @@ import errno
|
| |
+ import functools
|
| |
+ import json
|
| |
+ import os
|
| |
+ -import mock
|
| |
+ import platform
|
| |
+ import re
|
| |
+ import socket
|
| |
+ import sys
|
| |
+ import unittest
|
| |
+ +from unittest import mock
|
| |
+
|
| |
+ import pytest
|
| |
+
|
| |
+ diff --git a/pymemcache/test/test_client_hash.py b/pymemcache/test/test_client_hash.py
|
| |
+ index ad3f2da..9bac119 100644
|
| |
+ --- a/pymemcache/test/test_client_hash.py
|
| |
+ +++ b/pymemcache/test/test_client_hash.py
|
| |
+ @@ -5,9 +5,9 @@ from pymemcache import pool
|
| |
+
|
| |
+ from .test_client import ClientTestMixin, MockSocket
|
| |
+ import unittest
|
| |
+ +from unittest import mock
|
| |
+ import os
|
| |
+ import pytest
|
| |
+ -import mock
|
| |
+ import socket
|
| |
+
|
| |
+
|
| |
+ diff --git a/pymemcache/test/test_client_retry.py b/pymemcache/test/test_client_retry.py
|
| |
+ index 230a941..de64a46 100644
|
| |
+ --- a/pymemcache/test/test_client_retry.py
|
| |
+ +++ b/pymemcache/test/test_client_retry.py
|
| |
+ @@ -2,8 +2,8 @@
|
| |
+
|
| |
+ import functools
|
| |
+ import unittest
|
| |
+ +from unittest import mock
|
| |
+
|
| |
+ -import mock
|
| |
+ import pytest
|
| |
+
|
| |
+ from .test_client import ClientTestMixin, MockSocket
|
| |
+ diff --git a/test-requirements.txt b/test-requirements.txt
|
| |
+ index fccd6ea..cf73af2 100644
|
| |
+ --- a/test-requirements.txt
|
| |
+ +++ b/test-requirements.txt
|
| |
+ @@ -1,5 +1,4 @@
|
| |
+ future
|
| |
+ -mock
|
| |
+ pytest
|
| |
+ pytest-cov
|
| |
+ gevent==20.9.0; "PyPy" not in platform_python_implementation
|
| |