-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try if removing benchmark tests for win changes something
- Loading branch information
1 parent
59ef101
commit e0471f8
Showing
6 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 4c2ffa56713d610d64c4f3ce653402fa663ea5a7 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Sun, 29 Mar 2020 17:50:48 +0200 | ||
Subject: [PATCH 1/4] remove pyproject.toml | ||
Subject: [PATCH 1/5] remove pyproject.toml | ||
|
||
--- | ||
pyproject.toml | 2 -- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From c814b080bba947caf1e76ff1ca1669a21da95953 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Sun, 10 Jan 2021 23:12:39 +0100 | ||
Subject: [PATCH 2/4] do not use builtins as a dict | ||
Subject: [PATCH 2/5] do not use builtins as a dict | ||
|
||
--- | ||
cvxpy/tests/test_problem.py | 3 ++- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From e08490761b05841e10d7eb4fd517ecaab5aaa771 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Mon, 11 Jan 2021 23:50:52 +0100 | ||
Subject: [PATCH 3/4] add skip for test_ecos_bb_mi_lp_2 | ||
Subject: [PATCH 3/5] add skip for test_ecos_bb_mi_lp_2 | ||
|
||
--- | ||
cvxpy/tests/test_conic_solvers.py | 1 + | ||
|
2 changes: 1 addition & 1 deletion
2
recipe/patches/0004-reduce-decimal-precision-from-7-default-to-6.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 2647a1bebaf7c799098ced865916457a2103dbe1 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Mon, 11 Jan 2021 23:54:22 +0100 | ||
Subject: [PATCH 4/4] reduce decimal precision from 7 (default) to 6 | ||
Subject: [PATCH 4/5] reduce decimal precision from 7 (default) to 6 | ||
|
||
In cvxpy.tests.test_dpp.TestDgp.test_sum_matrix | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 86246e55b2bdc3d51bce28ae84d9c486b9134e38 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Tue, 12 Jan 2021 07:29:26 +0100 | ||
Subject: [PATCH 5/5] skip benchmark tests on windows | ||
|
||
--- | ||
cvxpy/tests/test_benchmarks.py | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/cvxpy/tests/test_benchmarks.py b/cvxpy/tests/test_benchmarks.py | ||
index c64be63a..bb96cb55 100644 | ||
--- a/cvxpy/tests/test_benchmarks.py | ||
+++ b/cvxpy/tests/test_benchmarks.py | ||
@@ -5,6 +5,7 @@ import numpy as np | ||
|
||
import os | ||
import time | ||
+import unittest | ||
|
||
|
||
def benchmark(func, iters=1, name=None): | ||
@@ -18,6 +19,7 @@ def benchmark(func, iters=1, name=None): | ||
name, np.mean(vals), np.std(vals), iters)) | ||
|
||
|
||
+@unittest.skip('skip benchmarks on windows and py<38') | ||
class TestBenchmarks(BaseTest): | ||
def test_diffcp_sdp_example(self): | ||
|
||
-- | ||
2.29.2.windows.3 | ||
|