summaryrefslogtreecommitdiff
path: root/ext/pybind11/tests/test_cmake_build/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pybind11/tests/test_cmake_build/test.py')
-rw-r--r--ext/pybind11/tests/test_cmake_build/test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/pybind11/tests/test_cmake_build/test.py b/ext/pybind11/tests/test_cmake_build/test.py
new file mode 100644
index 000000000..1467a61dc
--- /dev/null
+++ b/ext/pybind11/tests/test_cmake_build/test.py
@@ -0,0 +1,5 @@
+import sys
+import test_cmake_build
+
+assert test_cmake_build.add(1, 2) == 3
+print("{} imports, runs, and adds: 1 + 2 = 3".format(sys.argv[1]))