We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db1f7a9 commit 1587ecdCopy full SHA for 1587ecd
tests/test_full_rings.py
@@ -32,12 +32,8 @@ def test_full_rings(element_by_element=False):
32
rtol_10turns, atol_10turns = tolerances_10_turns[icase]
33
34
print('Case:', fname_line_particles)
35
- for CTX in xo.ContextCpu, xo.ContextPyopencl, xo.ContextCupy:
36
- if CTX not in available:
37
- continue
38
-
39
- print(f"Test {CTX}")
40
- context = CTX()
+ for context in xo.context.get_test_contexts():
+ print(f"Test {context.__class__}")
41
42
#############
43
# Load file #
0 commit comments