Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/python/test_clqr_convergence_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import mim_solvers
import numpy as np

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from csqp import CSQP # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_clqr_osqp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import numpy as np
import unittest

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from csqp import CSQP # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_clqr_stagewise_admm.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import mim_solvers
import numpy as np

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from csqp import CSQP # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_lqr_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import mim_solvers
import numpy as np

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from problems import create_lqr_problem # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_qp_solo_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import pinocchio
import pinocchio as pin

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from csqp import CSQP # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_qp_ur5_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import mim_solvers
import numpy as np

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from csqp import CSQP # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_sqp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import mim_solvers
import numpy as np

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from problems import ( # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_sqp_taichi_convergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import numpy as np

np.set_printoptions(precision=4, linewidth=180)
python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from problems import create_taichi # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_sqp_ur5_convergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import mim_solvers
import numpy as np

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from problems import create_unconstrained_ur5 # noqa: E402
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_ur5_csqp.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import mim_solvers
import numpy as np

python_path = pathlib.Path(".").absolute().parent.parent / "python"
python_path = pathlib.Path(__file__).absolute().parent.parent.parent / "python"
os.sys.path.insert(1, str(python_path))

from csqp import CSQP # noqa: E402
Expand Down