[Python-modules-commits] [python-svg.path] 04/06: test_doc-absolute-path
Daniel Stender
danstender-guest at moszumanska.debian.org
Fri Oct 16 18:42:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository python-svg.path.
commit c9991731cee7f48dae3c42c97cdfb624385ac447
Author: Daniel Stender <debian at danielstender.com>
Date: Fri Oct 16 20:25:11 2015 +0200
test_doc-absolute-path
don't use relative path to import doctests from README.rst,
because that doesn't work with pybuild
Forwarded: https://github.com/regebro/svg.path/pull/19
---
src/svg/path/tests/test_doc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/svg/path/tests/test_doc.py b/src/svg/path/tests/test_doc.py
index 1dc45e9..ca3ca60 100644
--- a/src/svg/path/tests/test_doc.py
+++ b/src/svg/path/tests/test_doc.py
@@ -3,5 +3,5 @@ import doctest
def load_tests(loader, tests, ignore):
- tests.addTests(doctest.DocFileSuite('../../../../README.rst'))
+ tests.addTests(doctest.DocFileSuite('README.rst', package='__main__'))
return tests
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-svg.path.git
More information about the Python-modules-commits
mailing list