black/tests
Joe Young 75f99bded3
Remove redundant parentheses around awaited coroutines/tasks (#2991)
This is a tricky one as await is technically an expression and therefore
in certain situations requires brackets for operator precedence.
However, the vast majority of await usage is just await some_coroutine(...)
and similar in format to return statements. Therefore this PR removes
redundant parens around these await expressions.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
2022-04-09 16:49:40 -04:00
..
data Remove redundant parentheses around awaited coroutines/tasks (#2991) 2022-04-09 16:49:40 -04: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 Update test_black.shhh_click test for click 8+ (#2993) 2022-04-04 18:23:30 -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 redundant parentheses around awaited coroutines/tasks (#2991) 2022-04-09 16:49:40 -04: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