Only run test_love on a single Python version to avoid collisions

This commit is contained in:
Hugo 2019-02-03 12:51:44 +02:00
parent d4fe9e5b36
commit 4eec2e763d
3 changed files with 9 additions and 7 deletions

View file

@ -3,6 +3,7 @@
Integration (not unit) tests for pylast.py
"""
import os
import sys
import time
import unittest
@ -12,6 +13,9 @@ from flaky import flaky
import pylast
PY37 = sys.version_info[:2] == (3, 7)
def load_secrets():
secrets_file = "test_pylast.yaml"
if os.path.isfile(secrets_file):