Download lib/python3.9/site-packages/IPython/testing/__init__.py from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 784 Bytes
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/IPython/testing/__init__.py
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/IPython/testing/__init__.py
-
curl -L -o __init__.py https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/IPython/testing/__init__.py
784 Bytes
| """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)) | |