Skip to content

Commit 8a888fe

Browse files
committed
Fix unit-test EnableGPUEvaluation
1 parent bf1753a commit 8a888fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catboost/catboost_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,6 @@ func TestEnableGPUEvaluation(t *testing.T) {
189189
}
190190

191191
if runtime.GOOS == "linux" {
192-
require.NoError(t, err)
192+
require.True(t, errors.Is(err, cb.ErrEnabledGPU))
193193
}
194194
}

0 commit comments

Comments
 (0)