mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
first commit
This commit is contained in:
16
third_party/pybind11/tests/test_embed/test_trampoline.py
vendored
Normal file
16
third_party/pybind11/tests/test_embed/test_trampoline.py
vendored
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