Debian Codegraph @

IPython/testing/__init__.py

raw
1 """Testing support (tools to test IPython itself).
2 """
3
4 #-----------------------------------------------------------------------------
5 # Copyright (C) 2009-2011 The IPython Development Team
6 #
7 # Distributed under the terms of the BSD License. The full license is in
8 # the file COPYING, distributed as part of this software.
9 #-----------------------------------------------------------------------------
10
11
12 import os
13
14 #-----------------------------------------------------------------------------
15 # Constants
16 #-----------------------------------------------------------------------------
17
18 # We scale all timeouts via this factor, slow machines can increase it
19 IPYTHON_TESTING_TIMEOUT_SCALE = float(os.getenv(
20 'IPYTHON_TESTING_TIMEOUT_SCALE', 1))