black/tests
Richard Si b21c0c3d28
Deprecate Python 2 formatting support (#2523)
* Prepare for Python 2 depreciation

- Use BlackRunner and .stdout in command line test

So the next commit won't break this test. This is in its own commit so
we can just revert the depreciation commit when dropping Python 2
support completely.

* Deprecate Python 2 formatting support
2021-10-31 16:46:12 -07:00
..
data blib2to3: support unparenthesized wulruses in more places (#2447) 2021-08-26 13:59:01 -07:00
__init__.py Remove deprecated use of 'setup.py test' (#1275) 2020-05-08 06:23:50 -07:00
conftest.py Use optional tests for "no_python2" to simplify local testing (#2203) 2021-05-07 15:03:13 +02:00
empty.toml Add --target-version option to allow users to choose targeted Python versions (#618) 2019-02-06 18:43:50 -08:00
optional.py Use optional tests for "no_python2" to simplify local testing (#2203) 2021-05-07 15:03:13 +02:00
test_black.py Deprecate Python 2 formatting support (#2523) 2021-10-31 16:46:12 -07:00
test_blackd.py re-implement simple CORS middleware for blackd (#2500) 2021-09-25 12:58:44 +01:00
test_format.py Add --projects cli flag to black-primer (#2555) 2021-10-27 11:31:34 -07:00
test_ipynb.py fix: allow tests to be run from (hopefully) any directory (GH-2574) 2021-10-30 11:50:45 -04:00
test_no_ipynb.py Jupyter notebook support (#2357) 2021-08-06 16:57:46 -04:00
test_primer.py Use STDIN project in test_projects to ensure it runs quickly (#2575) 2021-10-30 11:54:43 -07:00
test.toml Switch toml TOML library for tomli (#2301) 2021-07-12 16:01:38 -04:00
util.py Print out line diff on test failure (#2552) 2021-10-27 07:37:20 -07:00