summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2023-04-19 11:23:17 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2023-04-19 11:23:17 +0000
commitc0dee957261cdf3c4ab07880721e035c40faeffd (patch)
tree7c758f358b271c2518d6e767d6801452507af435
parent791dfd8ac71f4a0f7f3c59ff3a4eb0d59d273cfb (diff)
downloaddocutils-c0dee957261cdf3c4ab07880721e035c40faeffd.tar.gz
tox.ini changedir to directory ``test`` to avoid path problems.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9357 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r--HISTORY.txt1
-rw-r--r--tox.ini3
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY.txt b/HISTORY.txt
index e3bd4f161..8fcc9b9b9 100644
--- a/HISTORY.txt
+++ b/HISTORY.txt
@@ -137,6 +137,7 @@ Release 0.20 (unpublished)
* tox.ini
- Extracted flake8 configuration and moved to ``.flake8``.
+ - changedir to directory ``test`` to avoid path problems.
* test/
diff --git a/tox.ini b/tox.ini
index 476f8765f..34d7685f5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,9 +5,10 @@ envlist = py{37,38,39,310,311}
[testenv]
allowlist_externals =
find
+changedir = test
commands =
find . -type f -name "*.pyc" -delete
- python test/alltests.py
+ python alltests.py
[testenv:style]
deps =