Skip to content

Commit ea3399b

Browse files
committed
fix: remove unused import and fix formatting in api_token test
1 parent ce3495c commit ea3399b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_api_token_compatibility.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from __future__ import annotations
44

5-
import os
65
import pytest
76

87
from replicate import Replicate, AsyncReplicate, ReplicateError
@@ -86,4 +85,4 @@ def test_bearer_token_overrides_env(self, monkeypatch: pytest.MonkeyPatch) -> No
8685
"""Test that explicit bearer_token overrides environment variable."""
8786
monkeypatch.setenv("REPLICATE_API_TOKEN", "env_token")
8887
client = Replicate(bearer_token="explicit_token")
89-
assert client.bearer_token == "explicit_token"
88+
assert client.bearer_token == "explicit_token"

0 commit comments

Comments
 (0)