From 669ab5a14e26f548a7b885825216ae8391ad3d68 Mon Sep 17 00:00:00 2001 From: Martin Raspaud Date: Mon, 18 Mar 2024 13:28:15 +0100 Subject: [PATCH] Fix setup for klm testing --- pygac/tests/test_klm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pygac/tests/test_klm.py b/pygac/tests/test_klm.py index 550bee3..d21c00f 100644 --- a/pygac/tests/test_klm.py +++ b/pygac/tests/test_klm.py @@ -38,7 +38,7 @@ class TestKLM: """Test the klm reader.""" - def setup(self): + def setup_method(self): """Set up the tests.""" self.reader = GACKLMReader() @@ -126,7 +126,7 @@ def test_quality_indicators(self): class TestGACKLM: """Tests for gac klm.""" - def setup(self): + def setup_method(self): """Set up the tests.""" self.reader = GACKLMReader() @@ -150,7 +150,7 @@ def test_get_tsm_pixels(self, get_tsm_idx): class TestLACKLM: """Tests for lac klm.""" - def setup(self): + def setup_method(self): """Set up the tests.""" self.reader = LACKLMReader() self.reader.scans = np.ones(100, dtype=scanline)