view tests/_test_setup.py @ 173:e081b6ee5570

treesum.py now runs on Python3.4 also: use a workaround for its missing byte % formatting. No extra module is required for it to run using sha SHA and SHA-2 family of digests.
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 10 Jan 2025 12:46:44 +0100
parents 7912be4930b4
children c02a57df2a29
line wrap: on
line source

# -*- coding: utf-8 -*-
r"""Unit tests

"""

import os
import sys


TESTDIR = os.path.normpath(os.path.abspath(os.path.dirname(__file__)))
DATADIR = os.path.join(TESTDIR, "data")


sys.path.insert(0, os.path.join(TESTDIR, ".."))

del os
del sys