Permalink
Browse files

Document the requirement for PyTest 2.8.6 or above.

Fixes #43.
  • Loading branch information...
jmcgeheeiv committed Oct 9, 2016
1 parent 624df67 commit 1311da2098ec0ce384af96274931316d7a832498
Showing with 1 addition and 2 deletions.
  1. +1 −2 pytest_doctest_test.py
View
@@ -37,13 +37,12 @@ def make_file(name, content=''):
passes = make_file_factory('passes', fake=False, result=True)
passes_too = make_file_factory('passes_too', fake=True, result=True)
# Actually, it crashes if we try to remove the file :/
passes_too.__doc__ = passes_too.__doc__.replace('>>> os.remove(name)',
'>>> pass')
fails = make_file_factory('fails', fake=False, result=False)
# Pytest raises an internal error when running these doctests:
# Pytest versions below 2.8.6 raise an internal error when running these doctests:
crashes = make_file_factory('crashes', fake=True, result=False)
crashes_too = make_file_factory(') SyntaxError', fake=True, result=False)

0 comments on commit 1311da2

Please sign in to comment.