view tests/common.py @ 1:1b94f3bf97e5

* limit distance function * start gridding * improve unicode handling
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 Jun 2017 14:02:14 -0700
parents 5dba84370182
children
line wrap: on
line source

"""
common test functionality
"""

import os

here = os.path.dirname(os.path.abspath(__file__))
data = os.path.join(here, 'data')

def datafile(*path):
    """return path to a test data file"""
    return os.path.join(data, *path)