diff --git a/diracx-core/tests/test_utils.py b/diracx-core/tests/test_utils.py index 4de57d5a..11fe56a1 100644 --- a/diracx-core/tests/test_utils.py +++ b/diracx-core/tests/test_utils.py @@ -71,7 +71,7 @@ def test_write_credentials_is_locking_file(): proc_write.join() proc_read.join() - assert isinstance(exec_info.value, OSError) + assert isinstance(exec_info.value, OSError) is False def test_read_creadentials_is_locking_file(): @@ -96,4 +96,4 @@ def test_read_creadentials_is_locking_file(): proc_write.join() proc_read.join() - assert isinstance(exec_info.value, OSError) + assert isinstance(exec_info.value, OSError) is False