view tests/_test_context.py @ 686:80d203ed3556

FIX: The YAML loader had wrong format strings in its exception handlers. This is a code-path that is executed extremely rarely.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 10 Jun 2023 21:58:16 +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")