diff --git a/setup.py b/setup.py index b2172c3a..f00ceb43 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ readme = readme_file.read().decode('utf-8') requirements = [] -test_requirements = ['pytest', 'pylama', 'six'] +test_requirements = ['pytest', 'pylama'] needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv) setup_requirements = ['pytest-runner'] if needs_pytest else [] extra_requirements = {'proxy': ['PySocks']} diff --git a/tests/test_websocket_integration.py b/tests/test_websocket_integration.py index 86388dc5..0d623ca9 100644 --- a/tests/test_websocket_integration.py +++ b/tests/test_websocket_integration.py @@ -1,10 +1,10 @@ import base64 import hashlib import re +import socketserver from collections import OrderedDict import pytest -from six.moves import socketserver from testsupport.broker import fake_websocket_broker import paho.mqtt.client as client diff --git a/tests/testsupport/broker.py b/tests/testsupport/broker.py index 92b80451..b901a6df 100644 --- a/tests/testsupport/broker.py +++ b/tests/testsupport/broker.py @@ -1,9 +1,9 @@ import contextlib import socket +import socketserver import threading import pytest -from six.moves import socketserver class FakeBroker: