From b7cc900b10de871d023abb159936c05168a53ce2 Mon Sep 17 00:00:00 2001 From: Pierre Fersing Date: Sun, 24 Dec 2023 16:12:37 +0100 Subject: [PATCH] Remove dead-code Signed-off-by: Pierre Fersing --- Makefile | 1 - tests/paho_test.py | 5 ----- 2 files changed, 6 deletions(-) diff --git a/Makefile b/Makefile index 52672ee5..dbd1e4b2 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,6 @@ clean-test: ## remove test and coverage artifacts test : $(PYTHON) -m pytest . - $(MAKE) -C test test upload : test $(PYTHON) -m hatch build diff --git a/tests/paho_test.py b/tests/paho_test.py index 0e6a530a..f25c355b 100644 --- a/tests/paho_test.py +++ b/tests/paho_test.py @@ -20,11 +20,6 @@ vg_logfiles = [] -class TestError(Exception): - def __init__(self, message="Mismatched packets"): - self.message = message - - def bind_to_any_free_port(sock) -> int: """ Bind a socket to an available port on localhost,