view tests/_test_context.py @ 622:8d2d5d54ff3c

FIX: Handle KeyErrors in fast_getvar_s() properly within its function frame
author Franz Glasner <f.glasner@feldmann-mg.com>
date Thu, 13 Jan 2022 17:38:57 +0100
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")