Skip to content

Commit

Permalink
Merge a7eb124 into 204137f
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Aug 27, 2018
2 parents 204137f + a7eb124 commit 022669c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions persistent/tests/test_docs.py
Expand Up @@ -33,12 +33,15 @@
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 = (
Expand Down

0 comments on commit 022669c

Please sign in to comment.