Mercurial > hgrepos > Python > apps > py-cutils
view tests/_test_setup.py @ 166:ed45abb4940f
FIX: in util.normalize_filename(): use the 'u"' prefix in the else part for non-byte strings
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 09 Jan 2025 14:06:01 +0100 |
| parents | 5de499711a92 |
| children | 7912be4930b4 |
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, ".."))
