School/.venv/lib/python3.9/site-packages/pandas/tests/io/pytables/conftest.py
Kristofers Solo 1e065cc4b2 Updated .venv
2021-11-22 17:11:45 +02:00

18 lines
320 B
Python

import pytest
import pandas._testing as tm
@pytest.fixture
def setup_path():
"""Fixture for setup path"""
return f"tmp.__{tm.rands(10)}__.h5"
@pytest.fixture(scope="module", autouse=True)
def setup_mode():
"""Reset testing mode fixture"""
tm.reset_testing_mode()
yield
tm.set_testing_mode()