/usr/lib/python3/dist-packages/openpyxl/workbook/external_link/tests/conftest.py is in python3-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 | # Copyright (c) 2010-2017 openpyxl
import pytest
@pytest.fixture
def datadir():
"""DATADIR as a LocalPath"""
import os
here = os.path.split(__file__)[0]
DATADIR = os.path.join(here, "data")
from py._path.local import LocalPath
return LocalPath(DATADIR)
|