Skip to content

Commit b80ce4e

Browse files
authored
Merge pull request #160 from polyzen/fix_mock_import
mock is included in unittest since Python 3.3
2 parents b1556a1 + a3081c0 commit b80ce4e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/main_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import mock
1+
from unittest import mock
22

33
from .base_test_case import BaseTestCase
44
from pyt.__main__ import discover_files, main

tox.ini

-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
envlist = py36,cover,lint
33

44
[testenv]
5-
deps = mock
65
commands =
76
python -m tests
87

98
[testenv:cover]
109
whitelist_externals = coverage
1110
deps =
1211
coverage>=4.0,<4.4
13-
mock
1412
commands =
1513
coverage erase
1614
coverage run tests

0 commit comments

Comments
 (0)