8 lines
193 B
Python
8 lines
193 B
Python
from os.path import dirname, join
|
|
|
|
def get_data_file_path(basename):
|
|
"""
|
|
Returns the path to the test data file given by `basename`
|
|
"""
|
|
return join(dirname(__file__), basename)
|