Skip to content

Commit 285af9a

Browse files
scarabeusivMichael Howitz
andauthored
The mock is not needed on python3 (#107)
Use the version from unittest directly Co-authored-by: Michael Howitz <mh@gocept.com>
1 parent a7aed3e commit 285af9a

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Changelog
44
9.1 (unreleased)
55
----------------
66

7-
- Nothing changed yet.
7+
- Drop dependency on ``mock``.
88

99

1010
9.0 (2020-03-18)

test_pytest_rerunfailures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import mock
1+
from unittest import mock
22
import pytest
33
import random
44
import time

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ envlist = py{35,36,37,38,py3}-pytest{50,51,52,53,54},
99
[testenv]
1010
commands = py.test test_pytest_rerunfailures.py {posargs}
1111
deps =
12-
mock
1312
pytest50: pytest==5.0.*
1413
pytest51: pytest==5.1.*
1514
pytest52: pytest==5.2.*

0 commit comments

Comments
 (0)