Commit 9b8ca93f authored by Marius Gedminas's avatar Marius Gedminas Committed by GitHub

Merge pull request #90 from zopefoundation/fix-tox

Make test pass when run with 'tox'
parents 204137f3 a7eb124f
......@@ -33,12 +33,15 @@ import manuel.doctest
import manuel.ignore
import manuel.testing
def test_suite():
here = os.path.dirname(__file__)
here = os.path.dirname(os.path.abspath(__file__))
while not os.path.exists(os.path.join(here, 'setup.py')):
here = os.path.join(here, '..')
prev, here = here, os.path.dirname(here)
if here == prev:
# Let's avoid infinite loops at root
raise AssertionError('could not find my setup.py')
here = os.path.abspath(here)
docs = os.path.join(here, 'docs', 'api')
files_to_test = (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment