Skip to content

Commit 013d734

Browse files
committed
Fix merge conflict artifacts in stubs and test imports
1 parent 0823af8 commit 013d734

2 files changed

Lines changed: 6 additions & 14 deletions

File tree

src/pyscipopt/scip.pyi

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ CONST: Term
88
EventNames: dict
99
MAJOR: int
1010
MINOR: int
11-
PATCH: int
1211
Operator: Op
12+
PATCH: int
1313
PY_SCIP_CALL: Incomplete
1414
StageNames: dict
1515
TYPE_CHECKING: bool
@@ -20,18 +20,18 @@ _core_sum: Incomplete
2020
_expr_richcmp: Incomplete
2121
_is_number: Incomplete
2222
buildGenExprObj: Incomplete
23-
exp: Incomplete
24-
log: Incomplete
25-
sin: Incomplete
2623
cos: Incomplete
27-
sqrt: Incomplete
24+
exp: Incomplete
2825
expr_to_array: Incomplete
2926
expr_to_nodes: Incomplete
3027
is_memory_freed: Incomplete
28+
log: Incomplete
3129
print_memory_in_use: Incomplete
3230
quickprod: Incomplete
3331
quicksum: Incomplete
3432
readStatistics: Incomplete
33+
sin: Incomplete
34+
sqrt: Incomplete
3535
str_conversion: Incomplete
3636
value_to_array: Incomplete
3737

@@ -346,12 +346,6 @@ class Expr(ExprLike):
346346
def __init__(self, terms: Incomplete = ...) -> None: ...
347347
def degree(self) -> Incomplete: ...
348348
def normalize(self) -> Incomplete: ...
349-
def __add__(self, other: Incomplete) -> Incomplete: ...
350-
def __eq__(self, other: object) -> bool: ...
351-
def __ge__(self, other: object) -> bool: ...
352-
def __getitem__(self, index: Incomplete) -> Incomplete: ...
353-
def __gt__(self, other: object) -> bool: ...
354-
def __iadd__(self, other: Incomplete) -> Incomplete: ... # noqa: PYI034
355349
def __abs__(self) -> Incomplete: ...
356350
def __add__(self, other: Incomplete, /) -> Incomplete: ...
357351
def __eq__(self, other: object, /) -> bool: ...

tests/test_expr.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
import numpy as np
44
import pytest
55

6-
from pyscipopt import Model, cos, exp, log, sin, sqrt
6+
from pyscipopt import Model, cos, exp, log, quickprod, sin, sqrt
77
from pyscipopt.scip import CONST, Expr, ExprCons, GenExpr, MatrixGenExpr
8-
from pyscipopt import Model, sqrt, log, exp, sin, cos, quickprod
9-
from pyscipopt.scip import Expr, GenExpr, ExprCons, CONST
108

119

1210
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)