Skip to content

Commit

Permalink
Implement a doctest_globalcleanup string
Browse files Browse the repository at this point in the history
Refs #9595
  • Loading branch information
martyngigg committed Jun 4, 2014
1 parent 916d33d commit 6051383
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Code/Mantid/docs/source/conf.py
Expand Up @@ -56,6 +56,12 @@
from mantid.simpleapi import *
"""

# Run this after each test group has executed
doctest_global_cleanup = """
from mantid.api import FrameworkManager
FrameworkManager.Instance().clear()
"""

# -- Options for HTML output ----------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down

0 comments on commit 6051383

Please sign in to comment.