diff --git a/tests/resources/test_file_resources.py b/tests/resources/test_file_resources.py index 06f4576d5..2e3f7e153 100644 --- a/tests/resources/test_file_resources.py +++ b/tests/resources/test_file_resources.py @@ -99,7 +99,7 @@ class TestFileResource: await resource.read() @pytest.mark.skipif( - os.name == "nt" or (hasattr(os, 'getuid') and os.getuid() == 0), + os.name == "nt" or (hasattr(os, "getuid") and os.getuid() == 0), reason="File permissions behave differently on Windows or when running as root", ) async def test_permission_error(self, temp_file: Path):