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

2 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-04-20 06:09 +0000

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))