cpy3/recursion_test.go

17 lines
220 B
Go
Raw Normal View History

2019-01-18 19:50:08 +00:00
package python3
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestRecursion(t *testing.T) {
Py_Initialize()
assert.Zero(t, Py_EnterRecursiveCall("in test function"))
Py_LeaveRecursiveCall()
}