Skip to content

Commit 12f98a9

Browse files
committed
TEST: Update test to specify symengine in ccall()
1 parent 37020b8 commit 12f98a9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

integration_tests/symbolics_07.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
from lpython import ccall, CPtr
2+
import os
23

3-
@ccall(header="symengine/cwrapper.h")
4+
@ccall(header="symengine/cwrapper.h", py_mod="symengine", py_mod_path=f"{os.environ['CONDA_PREFIX']}/lib")
45
def basic_new_heap() -> CPtr:
56
pass
67

7-
@ccall(header="symengine/cwrapper.h")
8+
@ccall(header="symengine/cwrapper.h", py_mod="symengine", py_mod_path=f"{os.environ['CONDA_PREFIX']}/lib")
89
def basic_const_pi(x: CPtr) -> None:
910
pass
1011

11-
@ccall(header="symengine/cwrapper.h")
12+
@ccall(header="symengine/cwrapper.h", py_mod="symengine", py_mod_path=f"{os.environ['CONDA_PREFIX']}/lib")
1213
def basic_str(x: CPtr) -> str:
1314
pass
1415

0 commit comments

Comments
 (0)