mirror of
https://github.com/hanzoai/cpy3.git
synced 2026-10-30 18:42:30 +00:00
15 lines
211 B
Go
15 lines
211 B
Go
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))
|
|
}
|