Skip to content

Commit

Permalink
iSort clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
emcconville committed Sep 26, 2024
1 parent 8ca7c25 commit 32d6b96
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tests/color_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

from pathlib import Path

from pytest import fixture, mark

from wand.version import MAGICK_VERSION, VERSION
Expand Down
4 changes: 2 additions & 2 deletions tests/drawing_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
6 changes: 3 additions & 3 deletions tests/exceptions_test.py
Original file line number Diff line number Diff line change
@@ -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():
Expand Down
5 changes: 2 additions & 3 deletions tests/image_methods_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
1 change: 1 addition & 0 deletions tests/image_properties_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
import io
import numbers

from pytest import raises

from wand.color import Color
Expand Down
2 changes: 1 addition & 1 deletion tests/image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
7 changes: 4 additions & 3 deletions tests/misc_test.py
Original file line number Diff line number Diff line change
@@ -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)


Expand Down

0 comments on commit 32d6b96

Please sign in to comment.