mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 17:10:45 +00:00
No warning in python2
This commit is contained in:
1 parent
3d22cf29ce
commit
7fb97ed00e
1 file changed
+2
@@ -62,6 +62,8 @@ class AuthTestSpotipy(unittest.TestCase):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(self):
|
||||
if sys.version_info >= (3, 2):
|
||||
# >= Python3.2 only
|
||||
warnings.filterwarnings(
|
||||
"ignore",
|
||||
category=ResourceWarning,
|
||||
|
||||
Reference in new issue
Block a user