(windowed=False, quiet=False, summary=True)
return len(failures) == 0
Run all examples in the list of modules.

    Returns a boolean value indicating whether all the examples were
    successful.
Run all examples in the list of modules.
Run all examples in the list of modules .
def run_examples(windowed=False, quiet=False, summary=True):
    """Run all examples in the list of modules.

    Returns a boolean value indicating whether all the examples were
    successful.
    """
    successes = []
    failures = []
    examples = TERMINAL_EXAMPLES
    if windowed:
        examples += WINDOWED_EXAMPLES

    if quiet:
        from sympy.utilities.runtests import PyTestReporter
        reporter = PyTestReporter()
        reporter.write("Testing Examples\n")
        reporter.write("-" * reporter.terminal_width)
    else:
        reporter = None

    for example in examples:
        if run_example(example, reporter=reporter):
            successes.append(example)
        else:
            failures.append(example)

    if summary:
        show_summary(successes, failures, reporter=reporter)

    return len(failures) == 0
def run_examples ( windowed = False , quiet = False , summary = True ) : successes = [ ] failures = [ ] examples = TERMINAL_EXAMPLES if windowed : examples += WINDOWED_EXAMPLES if quiet : from sympy . utilities . runtests import PyTestReporter reporter = PyTestReporter ( ) reporter . write ( "Testing Examples\n" ) reporter . write ( "-" * reporter . terminal_width ) else : reporter = None for example in examples : if run_example ( example , reporter = reporter ) : successes . append ( example ) else : failures . append ( example ) if summary : show_summary ( successes , failures , reporter = reporter ) return len ( failures ) == 0