MCPcopy Index your code
hub / github.com/go-python/gopy / TestPythonConfig

Function TestPythonConfig

bind/utils_test.go:73–97  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

71}
72
73func TestPythonConfig(t *testing.T) {
74 t.Skip()
75
76 for _, tc := range []struct {
77 vm string
78 want PyConfig
79 }{
80 {
81 vm: "python2",
82 },
83 {
84 vm: "python3",
85 },
86 } {
87 t.Run(tc.vm, func(t *testing.T) {
88 cfg, err := GetPythonConfig(tc.vm)
89 if err != nil {
90 t.Fatal(err)
91 }
92 if cfg != tc.want {
93 t.Fatalf("error:\ngot= %#v\nwant=%#v\n", cfg, tc.want)
94 }
95 })
96 }
97}

Callers

nothing calls this directly

Calls 1

GetPythonConfigFunction · 0.85

Tested by

no test coverage detected