From ae520a199ddc7dc6fff9496e193f481a6c4234fa Mon Sep 17 00:00:00 2001 From: Jonathan de Bruin Date: Mon, 11 Mar 2024 14:32:39 +0100 Subject: [PATCH] Update pytest syntax for proper setup (#62) --- tests/test_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plot.py b/tests/test_plot.py index 21bb490..bb22ec5 100644 --- a/tests/test_plot.py +++ b/tests/test_plot.py @@ -17,7 +17,7 @@ SMALL_DATA = [1, 0, 1, 1, 0] -def setup(): +def setup_module(): TEST_FIGURES.mkdir(exist_ok=True)