summaryrefslogtreecommitdiffstatshomepage
path: root/tests/unix/extra_coverage.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unix/extra_coverage.py')
-rw-r--r--tests/unix/extra_coverage.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unix/extra_coverage.py b/tests/unix/extra_coverage.py
index 1c028506e3..b4808993a7 100644
--- a/tests/unix/extra_coverage.py
+++ b/tests/unix/extra_coverage.py
@@ -49,6 +49,16 @@ print(buf.write(bytearray(16)))
# function defined in C++ code
print("cpp", extra_cpp_coverage())
+# test user C module
+import cexample
+
+print(cexample.add_ints(3, 2))
+
+# test user C module mixed with C++ code
+import cppexample
+
+print(cppexample.cppfunc(1, 2))
+
# test basic import of frozen scripts
import frzstr1