Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Tiny refactor

  • Loading branch information...
commit b94ceec60043ee7f8bf42365c631313575251656 1 parent c395686
Tarsis Azevedo authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 run_all_examples.py
4 run_all_examples.py
@@ -11,10 +11,14 @@ def test_suite():
11 11 if sys.version_info >= (3,):
12 12 flags |= doctest.IGNORE_EXCEPTION_DETAIL
13 13 doctests_path = os.path.join('should_dsl', 'doctests')
  14 +
14 15 suite = unittest.TestSuite()
  16 +
15 17 for doc in glob.glob('docs/*.rst') + ['README.rst']:
16 18 suite.addTest(doctest.DocFileSuite(doc, optionflags=flags))
  19 +
17 20 suite.addTest(doctest.DocFileSuite('README.rst', optionflags=flags))
  21 +
18 22 for doctest_file in os.listdir(doctests_path):
19 23 if doctest_file.endswith('.txt'):
20 24 suite.addTest(doctest.DocFileSuite(os.path.join(doctests_path,

0 comments on commit b94ceec

Please sign in to comment.
Something went wrong with that request. Please try again.