From 0624f9697d8f0d0e5efa2e2c1e58897553691d01 Mon Sep 17 00:00:00 2001 From: Mladen Gibanica <11275336+mgcth@users.noreply.github.com> Date: Tue, 9 Jan 2024 21:34:02 +0100 Subject: [PATCH] Skip lint for now --- tests/unit/test_unit_metobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_unit_metobs.py b/tests/unit/test_unit_metobs.py index d0d67e69..101e49fa 100644 --- a/tests/unit/test_unit_metobs.py +++ b/tests/unit/test_unit_metobs.py @@ -394,7 +394,7 @@ def test_unit_baselevel_get_url( """ level = BaseLevel() - if isinstance(expected_result, str): + if type(expected_result) != str: # noqa: E721 with pytest.raises(expected_result): level._get_url(data, key, parameters, data_type) return None