- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 190 for SkipIf (0.33 sec)
-
tests/utils.py
import pytest from fastapi._compat import PYDANTIC_V2 needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+") needs_py310 = pytest.mark.skipif( sys.version_info < (3, 10), reason="requires python3.10+" ) needs_pydanticv2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires Pydantic v2")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 422 bytes - Viewed (0) -
pkg/test/framework/suite.go
EnvironmentFactory(fn resource.EnvironmentFactory) Suite // Label all the tests in suite with the given labels Label(labels ...label.Instance) Suite // SkipIf skips the suite if the function returns true SkipIf(reason string, fn resource.ShouldSkipFn) Suite // Skip marks a suite as skipped with the given reason. This will prevent any setup functions from occurring. Skip(reason string) Suite
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.2K bytes - Viewed (0) -
tests/integration/pilot/multiplecontrolplanes/main_test.go
Label(label.CustomSetup). // We are deploying two isolated environments, which CNI doesn't support. // We could deploy one of the usergroups as the CNI owner, but for now we skip SkipIf("CNI is not suppored", func(ctx resource.Context) bool { c, _ := istio.DefaultConfig(ctx) return c.EnableCNI }). SetupParallel(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 16:52:52 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/pprof/pprof_test.go
switch runtime.GOOS { case "plan9": t.Skipf("skipping on %s, unimplemented", runtime.GOOS) case "aix": t.Skipf("skipping on %s, issue 45170", runtime.GOOS) case "ios", "dragonfly", "netbsd", "illumos", "solaris": t.Skipf("skipping on %s, issue 13841", runtime.GOOS) case "openbsd": if runtime.GOARCH == "arm" || runtime.GOARCH == "arm64" { t.Skipf("skipping on %s/%s, issue 13841", runtime.GOOS, runtime.GOARCH) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 3.4K bytes - Viewed (0) -
src/math/arith_s390x_test.go
func TestLargeCosNovec(t *testing.T) { if !HasVX { t.Skipf("no vector support") } large := float64(100000 * Pi) for i := 0; i < len(vf); i++ { f1 := cosLarge[i] f2 := CosNoVec(vf[i] + large) if !close(f1, f2) { t.Errorf("Cos(%g) = %g, want %g", vf[i]+large, f2, f1) } } } func TestLargeSinNovec(t *testing.T) { if !HasVX { t.Skipf("no vector support") } large := float64(100000 * Pi)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 08 19:52:30 UTC 2017 - 10.8K bytes - Viewed (0) -
src/runtime/crash_cgo_test.go
} func TestRaceProf(t *testing.T) { if !platform.RaceDetectorSupported(runtime.GOOS, runtime.GOARCH) { t.Skipf("skipping on %s/%s because race detector not supported", runtime.GOOS, runtime.GOARCH) } if runtime.GOOS == "windows" { t.Skipf("skipping: test requires pthread support") // TODO: Can this test be rewritten to use the C11 thread API instead? } testenv.MustHaveGoRun(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 22.2K bytes - Viewed (0) -
src/internal/testenv/testenv.go
// If not, MustHaveGoBuild calls t.Skip with an explanation. func MustHaveGoBuild(t testing.TB) { if os.Getenv("GO_GCFLAGS") != "" { t.Helper() t.Skipf("skipping test: 'go build' not compatible with setting $GO_GCFLAGS") } if !HasGoBuild() { t.Helper() t.Skipf("skipping test: 'go build' unavailable: %v", goBuildErr) } } // HasGoRun reports whether the current system can run programs with “go run”.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
src/runtime/runtime-lldb_test.go
out, err := cmd.CombinedOutput() if err != nil { t.Skipf("skipping due to issue running lldb: %v\n%s", err, out) } lldbPath = strings.TrimSpace(string(out)) cmd = exec.Command("/usr/bin/python2.7", "-c", "import sys;sys.path.append(sys.argv[1]);import lldb; print('go lldb python support')", lldbPath) out, err = cmd.CombinedOutput() if err != nil { t.Skipf("skipping due to issue running python: %v\n%s", err, out) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.8K bytes - Viewed (0) -
src/os/user/user_test.go
userBuffer = old }() userBuffer = 1 // force use of retry code u, err := Current() if err != nil { if hasCgo || (hasUSER && hasHOME) { t.Fatalf("Current: %v (got %#v)", err, u) } else { t.Skipf("skipping: %v", err) } } if u.HomeDir == "" { t.Errorf("didn't get a HomeDir") } if u.Username == "" { t.Errorf("didn't get a username") } } func BenchmarkCurrent(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 15:59:43 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/go/internal/work/shell_test.go
t.Parallel() if bytes.ContainsAny(b, "*?[#~%\x00{}!") { t.Skipf("skipping %#q: contains a sometimes-quoted character", b) } // splitPkgConfigOutput itself rejects inputs that contain unquoted // shell operator characters. (Quoted shell characters are fine.) for _, c := range b { if c > unicode.MaxASCII { t.Skipf("skipping %#q: contains a non-ASCII character %q", b, c) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 15:30:05 UTC 2023 - 4.5K bytes - Viewed (0)