ufjc.tests.test_examples

A module for testing examples within docstrings.

This module checks all other modules in the package and ensures that the examples within each docstring are executed properly and obtain the expected output.

class TestDocstringExamples(methodName='runTest')[source]

Bases: TestCase

Class to test examples within docstrings.

test_docstring_python_examples(examples=True)[source]

Function to test examples within docstrings.

Parameters:

examples – Whether to test examples.