diff options
author | jcass <john.cass77@gmail.com> | 2015-10-30 09:16:10 +0200 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2015-12-05 18:51:30 -0800 |
commit | b2e4b0eaf67714c180feec53e5b0021d911d8f8d (patch) | |
tree | 37fc9b5114be73517c13fc15fa5d2a03e09cfa47 /pandora | |
parent | 439ba17affe26dd172a0d0b1433e9210e6d6ad03 (diff) | |
download | pydora-b2e4b0eaf67714c180feec53e5b0021d911d8f8d.tar.bz2 pydora-b2e4b0eaf67714c180feec53e5b0021d911d8f8d.tar.xz pydora-b2e4b0eaf67714c180feec53e5b0021d911d8f8d.zip |
Add missing import for unittest.mock.patch.
Diffstat (limited to 'pandora')
-rw-r--r-- | pandora/py2compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pandora/py2compat.py b/pandora/py2compat.py index 63a5873..844ea59 100644 --- a/pandora/py2compat.py +++ b/pandora/py2compat.py | |||
@@ -20,7 +20,7 @@ except ImportError: | |||
20 | 20 | ||
21 | # Only used in tests | 21 | # Only used in tests |
22 | try: | 22 | try: |
23 | from unittest.mock import Mock, MagicMock, call | 23 | from unittest.mock import Mock, MagicMock, call, patch |
24 | except ImportError: | 24 | except ImportError: |
25 | try: | 25 | try: |
26 | from mock import Mock, MagicMock, call, patch | 26 | from mock import Mock, MagicMock, call, patch |