diff options
| author | Timothy Crosley <timothy.crosley@gmail.com> | 2021-11-14 13:19:58 -0800 |
|---|---|---|
| committer | Timothy Crosley <timothy.crosley@gmail.com> | 2021-11-14 13:19:58 -0800 |
| commit | 6100d1d1bf36d66ab878e182cd8cd6df03141bee (patch) | |
| tree | 6b502026d21f1424c9fd5b259aa428fd0f022d00 /tests/unit | |
| parent | f65cf5efec87b8cdd557b6209e430f8d87c8eafa (diff) | |
| download | isort-6100d1d1bf36d66ab878e182cd8cd6df03141bee.tar.gz | |
Poetry update
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/profiles/test_black.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/profiles/test_black.py b/tests/unit/profiles/test_black.py index 7288d478..05444b8c 100644 --- a/tests/unit/profiles/test_black.py +++ b/tests/unit/profiles/test_black.py @@ -1,4 +1,5 @@ import black +from black.report import NothingChanged import isort @@ -14,7 +15,7 @@ def black_format(code: str, is_pyi: bool = False, line_length: int = 88) -> str: line_length=line_length, ), ) - except black.NothingChanged: + except NothingChanged: return code |
