/usr/lib/python2.7/dist-packages/openpyxl/worksheet/tests/conftest.py is in python-openpyxl 2.4.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | # Fixtures (pre-configured objects) for tests
import pytest
@pytest.fixture
def datadir():
"""DATADIR as a LocalPath"""
import os
from py._path.local import LocalPath
here = os.path.split(__file__)[0]
DATADIR = os.path.join(here, "data")
return LocalPath(DATADIR)
|