parent
eacd88bf3f
commit
921f6b209d
6 changed files with 52 additions and 12 deletions
recipes/python3/mock_modules/_sqlite3
10
recipes/python3/mock_modules/_sqlite3/_sqlite3.py
Normal file
10
recipes/python3/mock_modules/_sqlite3/_sqlite3.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
"""
|
||||
def __bootstrap__():
|
||||
global __bootstrap__, __loader__, __file__
|
||||
import sys, pkg_resources, imp
|
||||
__file__ = pkg_resources.resource_filename(__name__, '_sqlite3.cpython-37m-darwin.so')
|
||||
__loader__ = None; del __bootstrap__, __loader__
|
||||
print("demo")
|
||||
imp.load_dynamic(__name__,__file__)
|
||||
__bootstrap__()
|
||||
"""
|
Loading…
Add table
Add a link
Reference in a new issue