view tests/_test_context.py @ 733:06b6c14bcd61

FIX: Pure-Python installation from source for older Python versions: we need not the latest and greatest of setuptools and wheel.
author Franz Glasner <f.glasner@feldmann-mg.com>
date Thu, 26 Oct 2023 17:14:12 +0200
parents 75ecbe07abff
children
line wrap: on
line source

# -*- coding: utf-8 -*-
r"""Automatic unittest context configuration

"""

import sys
import os

sys.path.insert(
    0,
    os.path.abspath(
        os.path.normpath(os.path.join(os.path.dirname(__file__), ".."))))


TESTDATADIR = os.path.join(
    os.path.abspath(os.path.dirname(__file__)),
    "data")