Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/IPython/testing/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

3 statements  

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 

12import os 

13 

14#----------------------------------------------------------------------------- 

15# Constants 

16#----------------------------------------------------------------------------- 

17 

18# We scale all timeouts via this factor, slow machines can increase it 

19IPYTHON_TESTING_TIMEOUT_SCALE = float(os.getenv( 

20 'IPYTHON_TESTING_TIMEOUT_SCALE', 1))