##// END OF EJS Templates
MNT: ensure that any figures created in `%run` are shown...
MNT: ensure that any figures created in `%run` are shown Interactive mode in turned off during calls to %run so that time is not wasted drawing figures that will not be seen, but this means that in newer versions of Matplotlib they may never be shown. This will call (non-blocking) show if in interactive mode.

File last commit:

r27042:360df2b6
r28348:770c34e4
Show More
__init__.py
20 lines | 784 B | text/x-python | PythonLexer
"""Testing support (tools to test IPython itself).
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2009-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
import os
#-----------------------------------------------------------------------------
# Constants
#-----------------------------------------------------------------------------
# We scale all timeouts via this factor, slow machines can increase it
IPYTHON_TESTING_TIMEOUT_SCALE = float(os.getenv(
'IPYTHON_TESTING_TIMEOUT_SCALE', 1))