Skip to content

Commit fa6e862

Browse files
authored
Merge pull request #1274 from adler-j/issue-1273__failing_text_convex_conj
TST: Add skip to test that should not work in largescale solvers
2 parents 5f3dc0f + 19d1fb4 commit fa6e862

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

odl/test/largescale/solvers/nonsmooth/default_functionals_slow_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@ def test_convex_conj_defintion(functional):
198198
pytest.skip('functional has no convex conjugate')
199199
return
200200

201+
if (isinstance(f_convex_conj, odl.solvers.FunctionalTranslation) and
202+
isinstance(f_convex_conj.functional,
203+
FunctionalDefaultConvexConjugate)):
204+
pytest.skip('functional has no convex conjugate with call')
205+
return
206+
201207
for _ in range(100):
202208
y = noise_element(functional.domain)
203209
f_convex_conj_y = f_convex_conj(y)

0 commit comments

Comments
 (0)