Skip to content

Commit

Permalink
using mock instead of unittest.mock - it is the same but needed for e…
Browse files Browse the repository at this point in the history
…arlier python version then 3.3
  • Loading branch information
tomerghelber committed Oct 3, 2014
1 parent 90d6c24 commit e523f43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# This is an implicit value, here for clarity
--index-url https://pypi.python.org/simple/

# Those are like in setup.py
beautifulsoup4>=4.3.2
html5lib>=0.999
httpcache>=0.1.3
coveralls>=0.4.2
six==1.3
requests>=2.4.1
pillow>=2.5.3
singleton3>=1.0
singleton-factory>=0.1

# This is needed for tests
coveralls>=0.4.2
mock==1.0.1
3 changes: 2 additions & 1 deletion tests/test_anime.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import unittest
from unittest.mock import Mock
import os
from os import path

from mock import Mock

from pymal import account
from pymal import anime
from pymal import manga
Expand Down

0 comments on commit e523f43

Please sign in to comment.