Skip to content

Commit

Permalink
sagemathgh-39344: Fix broken sat solvers feature tests
Browse files Browse the repository at this point in the history
    
`GlucoseExecutable`, `PycosatExecutable` and `PycryptosatExecutable`
are nowhere defined.
    
URL: sagemath#39344
Reported by: Antonio Rojas
Reviewer(s): Dima Pasechnik
  • Loading branch information
Release Manager committed Jan 26, 2025
2 parents efa4e78 + 603fbd7 commit 0037c7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/features/sat.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Glucose(Executable):
EXAMPLES::
sage: from sage.features.sat import Glucose
sage: GlucoseExecutable().is_present() # optional - glucose
sage: Glucose().is_present() # optional - glucose
FeatureTestResult('glucose', True)
"""
def __init__(self, executable="glucose"):
Expand Down Expand Up @@ -59,7 +59,7 @@ class Pycosat(PythonModule):
EXAMPLES::
sage: from sage.features.sat import Pycosat
sage: PycosatExecutable().is_present() # optional - pycosat
sage: Pycosat().is_present() # optional - pycosat
FeatureTestResult('pycosat', True)
"""
def __init__(self):
Expand All @@ -81,7 +81,7 @@ class Pycryptosat(PythonModule):
EXAMPLES::
sage: from sage.features.sat import Pycryptosat
sage: PycryptosatExecutable().is_present() # optional - pycryptosat
sage: Pycryptosat().is_present() # optional - pycryptosat
FeatureTestResult('pycryptosat', True)
"""
def __init__(self):
Expand Down

0 comments on commit 0037c7c

Please sign in to comment.