black/tests
Richard Si 82e150a13a
Keep tests working w/ upcoming aiohttp 4.0.0 (#2974)
aiohttp.test_utils.unittest_run_loop was deprecated since aiohttp 3.8
and aiohttp 4 (which isn't a thing quite yet) removes it. To maintain
compatibility with the full range of versions we declare to support,
test_blackd.py will now define a no-op replacement if it can't be
imported.

Also, mypy is painfully slow to use without a cache, let's reenable it.
2022-03-30 13:40:50 -07:00
..
data Remove unnecessary parentheses from except clauses (#2939) 2022-03-26 09:56:50 -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 Support pytest 7 by fixing broken imports (GH-2705) 2021-12-24 22:28:43 -05:00
test_black.py Fix _unicodefun patch code for Click 8.1.0 (#2966) 2022-03-28 12:01:13 -07:00
test_blackd.py Keep tests working w/ upcoming aiohttp 4.0.0 (#2974) 2022-03-30 13:40:50 -07:00
test_format.py Remove unnecessary parentheses from except clauses (#2939) 2022-03-26 09:56:50 -07:00
test_ipynb.py Format ourselves in preview mode (#2889) 2022-02-23 18:20:59 -08:00
test_no_ipynb.py Support pytest 7 by fixing broken imports (GH-2705) 2021-12-24 22:28:43 -05:00
test_trans.py Fix determination of f-string expression spans (#2654) 2021-12-01 09:52:24 -08:00
test.toml Add support for custom python cell magics (#2744) 2022-01-20 16:45:28 -08:00
util.py Print out line diff on test failure (#2552) 2021-10-27 07:37:20 -07:00