Skip to content

Commit 9657ebf

Browse files
Update test_redis_connect_host.py
1 parent fd7c625 commit 9657ebf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/test_redis_connect_host.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import os
22
import sys
33

4-
if sys.version_info.major == 3:
5-
from unittest import mock
6-
else:
7-
import mock
4+
from unittest import mock
85

96
modules_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
107
sys.path.insert(0, os.path.join(modules_path, 'src'))

0 commit comments

Comments
 (0)