Skip to content

Commit c91ad4c

Browse files
authored
expand test coverage
Skip test for specific Go version due to CGO issue.
1 parent ef7b4bc commit c91ad4c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎main_test.go‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,7 @@ OK
548548
func TestBindCgoPackage(t *testing.T) {
549549
// Skip for some Go versions due to CGO issue
550550
// See: https://github.com/go-python/gopy/issues/370
551-
if strings.HasPrefix(runtime.Version(), "go1.21") ||
552-
strings.HasPrefix(runtime.Version(), "go1.23") ||
553-
strings.HasPrefix(runtime.Version(), "go1.24") {
551+
if strings.HasPrefix(runtime.Version(), "go1.23") {
554552
t.Skip("Skipping due to CGO issue (see https://github.com/go-python/gopy/issues/370)")
555553
}
556554
// t.Parallel()

0 commit comments

Comments
 (0)