2020from . import Executable , FeatureTestResult
2121from .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