cpy3/type_test.go

15 lines
211 B
Go
Raw Permalink Normal View History

2019-01-18 19:50:08 +00:00
package python3
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestTypeCheck(t *testing.T) {
Py_Initialize()
assert.True(t, PyType_Check(Type))
assert.True(t, PyType_CheckExact(Type))
}