LSR/env/lib/python3.6/site-packages/pandas/tests/io/pytables/conftest.py

18 lines
329 B
Python
Raw Normal View History

2020-06-04 17:24:47 +02:00
import pytest
import pandas._testing as tm
@pytest.fixture
def setup_path():
"""Fixture for setup path"""
return "tmp.__{}__.h5".format(tm.rands(10))
@pytest.fixture(scope="module", autouse=True)
def setup_mode():
""" Reset testing mode fixture"""
tm.reset_testing_mode()
yield
tm.set_testing_mode()