Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit e15197f

Browse files
committed
33092: capitalize class name to respect PEP8
1 parent 7cb0ea3 commit e15197f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/sage/features/imagemagick.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
from . import Executable, FeatureTestResult
2121
from .join_feature import JoinFeature
2222

23-
class convert(Executable):
23+
class Convert(Executable):
2424
r"""
2525
A :class:`~sage.features.Feature` describing the presence of ``convert``
2626
2727
EXAMPLES::
2828
29-
sage: from sage.features.imagemagick import convert
30-
sage: convert().is_present() # optional - imagemagick
29+
sage: from sage.features.imagemagick import Convert
30+
sage: Convert().is_present() # optional - imagemagick
3131
FeatureTestResult('convert', True)
3232
"""
3333
def __init__(self):
3434
r"""
3535
TESTS::
3636
37-
sage: from sage.features.imagemagick import convert
38-
sage: isinstance(convert(), convert)
37+
sage: from sage.features.imagemagick import Convert
38+
sage: isinstance(Convert(), Convert)
3939
True
4040
"""
4141
Executable.__init__(self, "convert", executable="convert")
@@ -46,8 +46,8 @@ def is_functional(self):
4646
4747
EXAMPLES::
4848
49-
sage: from sage.features.imagemagick import convert
50-
sage: convert().is_functional() # optional - imagemagick
49+
sage: from sage.features.imagemagick import Convert
50+
sage: Convert().is_functional() # optional - imagemagick
5151
FeatureTestResult('convert', True)
5252
5353
"""
@@ -122,7 +122,7 @@ def __init__(self):
122122
True
123123
"""
124124
JoinFeature.__init__(self, "imagemagick",
125-
[convert()],
125+
[Convert()],
126126
spkg="imagemagick",
127127
url="https://www.imagemagick.org/")
128128

0 commit comments

Comments
 (0)