__init__.py
20 lines
| 784 B
| text/x-python
|
PythonLexer
Fernando Perez
|
r2397 | """Testing support (tools to test IPython itself). | ||
""" | ||||
Brian Granger
|
r2498 | #----------------------------------------------------------------------------- | ||
Matthias BUSSONNIER
|
r5390 | # Copyright (C) 2009-2011 The IPython Development Team | ||
Brian Granger
|
r2498 | # | ||
# Distributed under the terms of the BSD License. The full license is in | ||||
# the file COPYING, distributed as part of this software. | ||||
#----------------------------------------------------------------------------- | ||||
Miro Hrončok
|
r25049 | |||
import os | ||||
Brian Granger
|
r2498 | #----------------------------------------------------------------------------- | ||
Miro Hrončok
|
r25049 | # 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)) | ||||