black/tests
Shantanu 4ceed0b958
Remove is_function_or_class helper footgun (#4133)
This is a no-op change.

That function was not a good way to tell if something is a function or a
class, since it basically only worked for async functions by accident
(the parent of a suite / simple_stmt of async function body is a
funcdef).
2024-01-01 17:36:49 -08:00
..
data Remove is_function_or_class helper footgun (#4133) 2024-01-01 17:36:49 -08:00
__init__.py Remove deprecated use of 'setup.py test' (#1275) 2020-05-08 06:23:50 -07:00
conftest.py add support for printing the diff of AST trees when running tests (#3902) 2023-09-28 07:03:24 -07: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 Upgrade mypy to 1.6.1 (#4049) 2023-11-18 11:42:36 -08:00
test_black.py Fix feature detection for parenthesized context managers (#4104) 2023-12-11 21:37:15 -08:00
test_blackd.py Migrate mypy config to pyproject.toml (#3936) 2023-10-16 05:24:16 -07:00
test_format.py test preview cases with line-length 1 unless explicitly skipped (#4087) 2023-12-06 07:17:33 -08:00
test_ipynb.py Avoid importing IPython if notebook cells do not contain magics (#3782) 2023-07-16 21:09:26 -04:00
test_no_ipynb.py Enable PYTHONWARNDEFAULTENCODING = 1 in CI (#3763) 2023-07-04 16:38:39 -07:00
test_ranges.py Support formatting specified lines (#4020) 2023-11-06 18:05:25 -08:00
test_trans.py Rewrite mostly useless assert in test_trans.py (#3810) 2023-07-27 12:51:28 -04:00
test.toml Add support for custom python cell magics (#2744) 2022-01-20 16:45:28 -08:00
util.py test preview cases with line-length 1 unless explicitly skipped (#4087) 2023-12-06 07:17:33 -08:00