From 926cccfdd7946731b61dc26be4cbaa2035ef79a3 Mon Sep 17 00:00:00 2001 From: Jan Hutar Date: Thu, 9 Nov 2023 08:49:28 +0100 Subject: [PATCH] fix: flake8: F841 local variable 'status_data' is assigned to but never used --- tests/test_status_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_status_data.py b/tests/test_status_data.py index fd65a76..209cced 100755 --- a/tests/test_status_data.py +++ b/tests/test_status_data.py @@ -239,7 +239,7 @@ def test_remove_missing(self): def test_file_on_http(self): with self.assertRaises(requests.exceptions.ConnectionError): - status_data = opl.status_data.StatusData( + _ = opl.status_data.StatusData( "http://does.not.exist/status-data-file.json" )