Skip to content

Commit

Permalink
tests: Disable source-less import test when bytecode writing is disabled
Browse files Browse the repository at this point in the history
Closes #51
  • Loading branch information
mgorny committed May 3, 2017
1 parent 6736fad commit ff19654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/testrunner/tests/test_doctest.py
Expand Up @@ -254,7 +254,7 @@ def test_suite():
checker=checker))

# PyPy does not support sourceless imports, apparently (tried version 1.9)
if 'PyPy' not in sys.version:
if 'PyPy' not in sys.version and not sys.dont_write_bytecode:
suites.append(
doctest.DocFileSuite(
'testrunner-wo-source.txt',
Expand Down

0 comments on commit ff19654

Please sign in to comment.