Commit Graph

12 Commits

Author SHA1 Message Date
victorvpaulo 81805a5776 Add option to silence warnings related to deprecation of Python versions (#6739)
* Add option to silence warnings related to deprecation of Python versions

* Move skip_if_python2 and skip_if_not_python2 decorator declaratios to test/lib/__init__.py and use them in test_warning.py

* Add tests to ensure that python version deprecation warning is shown correctly and can be silenced by a flag.

* Add new test to ensure that --no-python-version-warning flag does nothing if python version is not 2
2019-12-15 09:59:34 +08:00
Pradyun Gedam 2bb8ee6ae3
Sort imports for the greater good 2019-09-28 18:16:34 +05:30
Pradyun Gedam 3a77de3c7d
Split tests for different functionality 2019-09-28 18:16:34 +05:30
Pradyun Gedam e670f90219
Generate temporary file in a fixture 2019-09-28 18:16:34 +05:30
Pradyun Gedam f3c1519160
Improve name and docstring 2019-09-28 18:15:13 +05:30
Pradyun Gedam 987b45af9e
Move docstring to appropriately placed comment 2019-08-27 13:35:55 +05:30
Chris Hunt 39ac9ca351 Rename compatible functions in tests.lib.path.Path. 2019-07-02 18:48:44 -04:00
Pradyun Gedam a84dde5982
Update test to check newer logic 2018-07-15 17:15:35 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Donald Stufft ceb7feed75 Update tests for the removal of Python 2.6 2017-03-18 14:52:14 -04:00
Donald Stufft 59cb562d59 Fix up some bookkeeping 2017-03-18 14:52:14 -04:00
Buck Golemon 584d96bfe9 add tests 2016-02-08 15:29:25 -08:00