Commit 319b8cfb authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1049ee28
...@@ -180,7 +180,11 @@ func withZEOSrv(t *testing.T, f func(t *testing.T, zsrv ZEOSrv), optv ...tOption ...@@ -180,7 +180,11 @@ func withZEOSrv(t *testing.T, f func(t *testing.T, zsrv ZEOSrv), optv ...tOption
// ZEO/py // ZEO/py
t.Run(fmt.Sprintf("py/msgpack=%v", msgpack), func(t *testing.T) { t.Run(fmt.Sprintf("py/msgpack=%v", msgpack), func(t *testing.T) {
t.Helper() t.Helper()
needZEOpy(t) needpy := []string{"ZEO"}
if msgpack {
needpy = append(needpy, "msgpack")
}
xtesting.NeedPy(t, needpy...)
withFS1(t, func(fs1path string) { withFS1(t, func(fs1path string) {
X := mkFatalIf(t) X := mkFatalIf(t)
...@@ -280,7 +284,3 @@ func mkFatalIf(t *testing.T) func(error) { ...@@ -280,7 +284,3 @@ func mkFatalIf(t *testing.T) func(error) {
} }
} }
} }
func needZEOpy(t *testing.T) {
xtesting.NeedPy(t, "ZEO") // XXX +msgpack?
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment