Reformat tests with Black.

This commit is contained in:
Sergey Vartanov 2021-07-30 02:10:13 +03:00
parent 5406fc9cf2
commit c69f1fdae8
3 changed files with 5 additions and 7 deletions

View file

@ -24,7 +24,7 @@ def test_gradient() -> None:
"""
Test color picking from gradient.
"""
assert (
get_gradient_color(0.5, MinMax(0, 1), [Color("black"), Color("white")])
== Color("#7F7F7F")
color: Color = get_gradient_color(
0.5, MinMax(0, 1), [Color("black"), Color("white")]
)
assert color == Color("#7F7F7F")