diff options
author | Mike Crute <mcrute@gmail.com> | 2015-07-17 18:47:48 -0700 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2015-07-17 18:52:29 -0700 |
commit | b05b149fbc879cd3faca2f624cc8c90725bd431f (patch) | |
tree | 9926455698951144800f4fc634dc334fc6da62ae /tests | |
parent | ac4bb09feff02cf39fe80598829aa7940e6b621d (diff) | |
download | pydora-b05b149fbc879cd3faca2f624cc8c90725bd431f.tar.bz2 pydora-b05b149fbc879cd3faca2f624cc8c90725bd431f.tar.xz pydora-b05b149fbc879cd3faca2f624cc8c90725bd431f.zip |
Fix python3 deprecation warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pandora/test_clientbuilder.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test_pandora/test_clientbuilder.py b/tests/test_pandora/test_clientbuilder.py index b953f9e..db9f885 100644 --- a/tests/test_pandora/test_clientbuilder.py +++ b/tests/test_pandora/test_clientbuilder.py | |||
@@ -1,12 +1,8 @@ | |||
1 | import os | 1 | import os |
2 | from unittest import TestCase | 2 | from unittest import TestCase |
3 | 3 | ||
4 | try: | ||
5 | from unittest.mock import Mock | ||
6 | except ImportError: | ||
7 | from mock import Mock | ||
8 | |||
9 | import pandora.clientbuilder as cb | 4 | import pandora.clientbuilder as cb |
5 | from pandora.py2compat import Mock | ||
10 | from pandora import APIClient, DEFAULT_API_HOST | 6 | from pandora import APIClient, DEFAULT_API_HOST |
11 | 7 | ||
12 | 8 | ||