mirror of
https://github.com/bspeice/metrik
synced 2024-09-27 21:21:32 -04:00
10 lines
140 B
Python
10 lines
140 B
Python
import sys
|
|
|
|
|
|
def pytest_configure(config):
|
|
sys._called_from_test = True
|
|
|
|
|
|
def pytest_unconfigure(config):
|
|
del sys._called_from_test
|