Skip to content

Commit fd8e6e9

Browse files
Simplify conditionalization of mock dependency
Since it is needed only on Python 2.7 and on versions of Python 3 which have reached end of life (before 3.3), move it to the “Python2 only deps” with enum34. Co-authored-by: (Eliseo) Nathaniel Ruiz Nowell <[email protected]>
1 parent 263a198 commit fd8e6e9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ deps =
3636
testing.postgresql
3737
testing.mysqld
3838
webtest
39-
mock ; python_version < '3.3'
40-
4139
# Python2 only deps
42-
py{27}: enum34
40+
py{27}: enum34, mock
4341

4442
# pymysql deps
4543
py{27,34,35}: pymysql < 1.0.0

0 commit comments

Comments
 (0)