kopia lustrzana https://github.com/simonw/datasette
11 wiersze
159 B
Python
11 wiersze
159 B
Python
|
def pytest_configure(config):
|
||
|
import sys
|
||
|
|
||
|
sys._called_from_test = True
|
||
|
|
||
|
|
||
|
def pytest_unconfigure(config):
|
||
|
import sys
|
||
|
|
||
|
del sys._called_from_test
|