Skip to content
Snippets Groups Projects
Commit 9c5e12ea authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix islice tests

parent d62cf638
No related branches found
No related tags found
1 merge request!376Loop Transformations: Cutting and Peeling
Pipeline #64970 passed
...@@ -52,7 +52,7 @@ def test_invalid_slices(): ...@@ -52,7 +52,7 @@ def test_invalid_slices():
ctx.add_field(archetype_field) ctx.add_field(archetype_field)
islice = (slice(1, -1, 0.5),) islice = (slice(1, -1, 0.5),)
with pytest.raises(PsTypeError): with pytest.raises(TypeError):
FullIterationSpace.create_from_slice(ctx, islice, archetype_field) FullIterationSpace.create_from_slice(ctx, islice, archetype_field)
islice = (slice(1, -1, TypedSymbol("w", dtype=create_type("double"))),) islice = (slice(1, -1, TypedSymbol("w", dtype=create_type("double"))),)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment