Skip to content

Commit c57c8a5

Browse files
Update pkg/distribution/distribution/client_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent f497640 commit c57c8a5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/distribution/distribution/client_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,6 @@ func TestClientPullModel(t *testing.T) {
463463

464464
// Try to pull the safetensors model - should fail with ErrUnsupportedFormat
465465
err = testClient.PullModel(context.Background(), tag, nil)
466-
if err == nil {
467-
t.Fatal("Expected error when pulling safetensors model, got nil")
468-
}
469-
470-
// Verify the error is ErrUnsupportedFormat
471466
if !errors.Is(err, ErrUnsupportedFormat) {
472467
t.Fatalf("Expected ErrUnsupportedFormat, got: %v", err)
473468
}

0 commit comments

Comments
 (0)