mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 13:04:18 +02:00
Reformatting, and adding copilot's suggestion
This commit is contained in:
parent
d944f6591e
commit
1393a2bb06
1 changed files with 2 additions and 2 deletions
|
|
@ -99,8 +99,8 @@ class TestFileResource:
|
|||
await resource.read()
|
||||
|
||||
@pytest.mark.skipif(
|
||||
os.name == "nt" or os.getuid() == 0,
|
||||
reason="File permissions behave differently on Windows or when running as root"
|
||||
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):
|
||||
"""Test reading a file without permissions."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue