|
From: <gr...@us...> - 2020-07-27 07:28:46
|
Revision: 8531
http://sourceforge.net/p/docutils/code/8531
Author: grubert
Date: 2020-07-27 07:28:44 +0000 (Mon, 27 Jul 2020)
Log Message:
-----------
Run python3 test like python2 run against source not the build/-directory.
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/test/DocutilsTestSupport.py
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2020-07-18 14:51:34 UTC (rev 8530)
+++ trunk/docutils/HISTORY.txt 2020-07-27 07:28:44 UTC (rev 8531)
@@ -24,6 +24,8 @@
- Remove legacy LaTeX stylesheet ``docutils-05-compat.sty``.
- Installing with ``setup.py`` now requires ``setuptools``.
Alternatively, install with `pip`_ (or "manually").
+ - Run python3 test like python2 run against source not the build/-directory
+ (test/DocutilsTestSupport.py #8531).
* docutils/MANIFEST.in
Modified: trunk/docutils/test/DocutilsTestSupport.py
===================================================================
--- trunk/docutils/test/DocutilsTestSupport.py 2020-07-18 14:51:34 UTC (rev 8530)
+++ trunk/docutils/test/DocutilsTestSupport.py 2020-07-27 07:28:44 UTC (rev 8531)
@@ -51,14 +51,8 @@
testroot = os.path.abspath(os.path.dirname(__file__) or os.curdir)
os.chdir(testroot)
-if sys.version_info >= (3, 0):
- sys.path.insert(0, os.path.normpath(os.path.join(testroot,
- '..', 'build', 'lib')))
- sys.path.append(os.path.normpath(os.path.join(testroot, '..',
- 'build', 'lib', 'extras')))
-else:
- sys.path.insert(0, os.path.normpath(os.path.join(testroot, '..')))
- sys.path.append(os.path.normpath(os.path.join(testroot, '..', 'extras')))
+sys.path.insert(0, os.path.normpath(os.path.join(testroot, '..')))
+sys.path.append(os.path.normpath(os.path.join(testroot, '..', 'extras')))
sys.path.insert(0, testroot)
try:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|