aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/pybind11/tests/test_embed/test_interpreter.py
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/pybind11/tests/test_embed/test_interpreter.py')
-rw-r--r--3rdparty/pybind11/tests/test_embed/test_interpreter.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/3rdparty/pybind11/tests/test_embed/test_interpreter.py b/3rdparty/pybind11/tests/test_embed/test_interpreter.py
new file mode 100644
index 00000000..26a04792
--- /dev/null
+++ b/3rdparty/pybind11/tests/test_embed/test_interpreter.py
@@ -0,0 +1,9 @@
+from widget_module import Widget
+
+
+class DerivedWidget(Widget):
+ def __init__(self, message):
+ super(DerivedWidget, self).__init__(message)
+
+ def the_answer(self):
+ return 42