mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 00:07:13 +02:00
Hardcopy of pybind11 instead of using git submodules (#552)
* removed pybind as submodule * added hardcopy of pybind11 2.10.0 * rename pybind11 folder to avoid conflicts when changing branch Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
This commit is contained in:
16
libs/pybind/tests/test_embed/test_trampoline.py
Normal file
16
libs/pybind/tests/test_embed/test_trampoline.py
Normal file
@ -0,0 +1,16 @@
|
||||
import trampoline_module
|
||||
|
||||
|
||||
def func():
|
||||
class Test(trampoline_module.test_override_cache_helper):
|
||||
def func(self):
|
||||
return 42
|
||||
|
||||
return Test()
|
||||
|
||||
|
||||
def func2():
|
||||
class Test(trampoline_module.test_override_cache_helper):
|
||||
pass
|
||||
|
||||
return Test()
|
Reference in New Issue
Block a user