~chipaca/testscenarios/fix-with-py3

« back to all changes in this revision

Viewing changes to lib/testscenarios/tests/__init__.py

  • Committer: Robert Collins
  • Date: 2012-04-04 10:02:46 UTC
  • mfrom: (18.1.1 module-scenarios)
  • Revision ID: robertc@robertcollins.net-20120404100246-n6ap8h2x14uxg144
* New function ``per_module_scenarios`` for tests that should be applied across 
  multiple modules providing the same interface, some of which may not be 
  available at run time.  (Martin Pool, Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    test_mod_names = [prefix + test_module for test_module in test_modules]
39
39
    standard_tests.addTests(loader.loadTestsFromNames(test_mod_names))
40
40
    doctest.set_unittest_reportflags(doctest.REPORT_ONLY_FIRST_FAILURE)
41
 
    standard_tests.addTest(doctest.DocFileSuite("../../../README"))
 
41
    standard_tests.addTest(
 
42
        doctest.DocFileSuite("../../../README", optionflags=doctest.ELLIPSIS))
42
43
    return standard_tests