diff --git a/tests/color_test.py b/tests/color_test.py index 6ff42fa1..76ca251e 100644 --- a/tests/color_test.py +++ b/tests/color_test.py @@ -9,7 +9,7 @@ from pytest import mark, raises from wand.color import Color -from wand.version import QUANTUM_DEPTH, MAGICK_VERSION_INFO # noqa +from wand.version import MAGICK_VERSION_INFO, QUANTUM_DEPTH # noqa def test_user_error(): diff --git a/tests/conftest.py b/tests/conftest.py index 806c4f06..6ce6f161 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,6 +1,6 @@ import os - from pathlib import Path + from pytest import fixture, mark from wand.version import MAGICK_VERSION, VERSION diff --git a/tests/drawing_test.py b/tests/drawing_test.py index 2b0b50c6..93733ef1 100644 --- a/tests/drawing_test.py +++ b/tests/drawing_test.py @@ -2,10 +2,10 @@ from pytest import mark, raises -from wand.image import Image -from wand.color import Color from wand.api import library +from wand.color import Color from wand.drawing import Drawing +from wand.image import Image from wand.version import MAGICK_VERSION_NUMBER diff --git a/tests/exceptions_test.py b/tests/exceptions_test.py index 02a5f1d7..a47b94fb 100644 --- a/tests/exceptions_test.py +++ b/tests/exceptions_test.py @@ -1,6 +1,6 @@ -from wand.exceptions import (BaseFatalError, BaseError, BaseWarning, - BlobFatalError, BlobError, BlobWarning, - WandFatalError, WandError, WandWarning) +from wand.exceptions import (BaseError, BaseFatalError, BaseWarning, BlobError, + BlobFatalError, BlobWarning, WandError, + WandFatalError, WandWarning) def test_base_wand_error(): diff --git a/tests/image_methods_test.py b/tests/image_methods_test.py index fea7e526..7dc606f1 100644 --- a/tests/image_methods_test.py +++ b/tests/image_methods_test.py @@ -7,10 +7,9 @@ from pytest import mark, raises from wand.color import Color -from wand.exceptions import (MissingDelegateError, OptionError, - WandRuntimeError) -from wand.image import Image +from wand.exceptions import MissingDelegateError, OptionError, WandRuntimeError from wand.font import Font +from wand.image import Image from wand.version import MAGICK_VERSION_NUMBER diff --git a/tests/image_properties_test.py b/tests/image_properties_test.py index 79db876e..2e6226ef 100644 --- a/tests/image_properties_test.py +++ b/tests/image_properties_test.py @@ -3,6 +3,7 @@ # import io import numbers + from pytest import raises from wand.color import Color diff --git a/tests/image_test.py b/tests/image_test.py index 86c87be8..9e493634 100644 --- a/tests/image_test.py +++ b/tests/image_test.py @@ -12,9 +12,9 @@ from pytest import mark, raises -from wand.image import ClosedImageError, Image from wand.color import Color from wand.font import Font +from wand.image import ClosedImageError, Image try: filesystem_encoding = sys.getfilesystemencoding() diff --git a/tests/misc_test.py b/tests/misc_test.py index 18b42aff..4a67a145 100644 --- a/tests/misc_test.py +++ b/tests/misc_test.py @@ -1,11 +1,12 @@ import datetime import numbers import re + from pytest import mark, raises -from wand.version import (MAGICK_VERSION, MAGICK_VERSION_INFO, - MAGICK_VERSION_NUMBER, MAGICK_RELEASE_DATE, - MAGICK_RELEASE_DATE_STRING, QUANTUM_DEPTH, +from wand.version import (MAGICK_RELEASE_DATE, MAGICK_RELEASE_DATE_STRING, + MAGICK_VERSION, MAGICK_VERSION_INFO, + MAGICK_VERSION_NUMBER, QUANTUM_DEPTH, configure_options, fonts, formats)