Mercurial > hgrepos > Python > apps > py-cutils
comparison tests/_test_setup.py @ 273:c02a57df2a29
treesum: - WalkDirEntry tests with a FIFO special file - WalkDirEntry.is_reg
Also all to be handled special files in the notes document.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 19 Feb 2025 09:12:30 +0100 |
| parents | 7912be4930b4 |
| children | 7f797d71bd5e |
comparison
equal
deleted
inserted
replaced
| 272:b4137ebd8e79 | 273:c02a57df2a29 |
|---|---|
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 | 9 |
| 10 TESTDIR = os.path.normpath(os.path.abspath(os.path.dirname(__file__))) | 10 TESTDIR = os.path.normpath(os.path.abspath(os.path.dirname(__file__))) |
| 11 DATADIR = os.path.join(TESTDIR, "data") | 11 DATADIR = os.path.join(TESTDIR, "data") |
| 12 TMPDIR = os.path.join(DATADIR, "_tmp") | |
| 12 | 13 |
| 13 | 14 |
| 14 sys.path.insert(0, os.path.join(TESTDIR, "..")) | 15 sys.path.insert(0, os.path.join(TESTDIR, "..")) |
| 15 | 16 |
| 16 del os | 17 del os |
