From a3e6b637bc0db76813458ee1ee82d14c8022bb2a Mon Sep 17 00:00:00 2001 From: Brian Cherinka Date: Mon, 16 Nov 2020 15:02:00 -0500 Subject: [PATCH] fixing linting issues --- tests/utils/test_general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/test_general.py b/tests/utils/test_general.py index 4f469caf..9d3e10a8 100644 --- a/tests/utils/test_general.py +++ b/tests/utils/test_general.py @@ -255,7 +255,7 @@ def test_sort_dir_spectrum(self, galaxy, class_, expected): spec = spax.flux dir_ = _sort_dir(spec, class_) - dir_public = [it for it in dir_ if it[0] is not '_'] + dir_public = [it for it in dir_ if it[0] != '_'] assert set(dir_public) == set(expected)