File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def test_use_does_not_raise_without_token():
1414 import replicate
1515
1616 # Should not raise an exception
17- model = replicate .use ("test/model" )
17+ model = replicate .use ("test/model" ) # type: ignore[misc]
1818 assert model is not None
1919
2020
@@ -35,7 +35,7 @@ def test_cog_current_scope():
3535 with patch .dict (sys .modules , {"cog" : mock_cog }):
3636 import replicate
3737
38- model = replicate .use ("test/model" )
38+ model = replicate .use ("test/model" ) # type: ignore[misc]
3939
4040 # Access the client property - this should trigger client creation and cog.current_scope call
4141 _ = model ._client
@@ -46,7 +46,7 @@ def test_cog_current_scope():
4646 mock_context .items .return_value = [("REPLICATE_API_TOKEN" , "test-token-2" )]
4747
4848 # Create a new model to trigger another client creation
49- model2 = replicate .use ("test/model2" )
49+ model2 = replicate .use ("test/model2" ) # type: ignore[misc]
5050 _ = model2 ._client
5151
5252 assert mock_cog .current_scope .call_count == 2
You can’t perform that action at this time.
0 commit comments