Skip to content

Commit

Permalink
Fix tests for Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
ekampf committed Nov 7, 2016
1 parent 3a5557a commit 444eab0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/test_pymaybe.py
Expand Up @@ -20,8 +20,13 @@

def load_tests(loader, tests, ignore):
import pymaybe
tests.addTests(doctest.DocTestSuite(pymaybe,
globs=pymaybe.get_doctest_globs()))
tests.addTests(
doctest.DocTestSuite(
pymaybe,
globs=pymaybe.get_doctest_globs(),
optionflags=doctest.IGNORE_EXCEPTION_DETAIL
)
)
return tests

PY2 = sys.version_info[0] == 2
Expand Down

0 comments on commit 444eab0

Please sign in to comment.