aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2015-07-17 18:47:48 -0700
committerMike Crute <mcrute@gmail.com>2015-07-17 18:52:29 -0700
commitb05b149fbc879cd3faca2f624cc8c90725bd431f (patch)
tree9926455698951144800f4fc634dc334fc6da62ae /tests
parentac4bb09feff02cf39fe80598829aa7940e6b621d (diff)
downloadpydora-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.py6
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 @@
1import os 1import os
2from unittest import TestCase 2from unittest import TestCase
3 3
4try:
5 from unittest.mock import Mock
6except ImportError:
7 from mock import Mock
8
9import pandora.clientbuilder as cb 4import pandora.clientbuilder as cb
5from pandora.py2compat import Mock
10from pandora import APIClient, DEFAULT_API_HOST 6from pandora import APIClient, DEFAULT_API_HOST
11 7
12 8