Drop unused/duplicate import

This commit is contained in:
Takashi Kajinami 2025-06-08 22:19:27 +09:00
parent e92a6ddf42
commit 070876493b
4 changed files with 3 additions and 11 deletions

View File

@ -1,4 +1,4 @@
from setuptools import setup, find_packages
from setuptools import setup
version = '0.13.0'
name = 'websockify'

View File

@ -16,8 +16,6 @@
""" Unit tests for websocketproxy """
import sys
import unittest
import unittest
import socket
from io import StringIO

View File

@ -17,18 +17,12 @@
""" Unit tests for websockifyserver """
import errno
import os
import logging
import select
import shutil
import socket
import ssl
from unittest.mock import patch, MagicMock, ANY
from unittest.mock import patch
import sys
import tempfile
import unittest
import socket
import signal
from http.server import BaseHTTPRequestHandler
from io import StringIO
from io import BytesIO

View File

@ -10,7 +10,7 @@ Licensed under LGPL version 3 (see docs/LICENSE.LGPL-3)
import sys
from http.server import BaseHTTPRequestHandler, HTTPServer
from websockify.websocket import WebSocket, WebSocketWantReadError, WebSocketWantWriteError
from websockify.websocket import WebSocket
class HttpWebSocket(WebSocket):
"""Class to glue websocket and http request functionality together"""