Skip to content
Snippets Groups Projects
Commit 8abd0860 authored by EXT Jean-Matthieu Etancelin's avatar EXT Jean-Matthieu Etancelin
Browse files

Change registration of discrete field for TempFields. Fix the test_fields test.

parent 4c5faf36
No related branches found
No related tags found
1 merge request!16MPI operators
Pipeline #39732 failed
This diff is collapsed.
......@@ -106,7 +106,10 @@ def test_field():
DF7.exchange_ghosts()
DF7.accumulate_ghosts()
exchanger = DF7.build_ghost_exchanger()
exchanger()
try:
exchanger()
except TypeError:
assert exchanger is None
DF7.match(DF5)
DF7 == DF5
......@@ -213,7 +216,10 @@ def test_tensor_field():
DT9.exchange_ghosts()
DT9.accumulate_ghosts()
exchanger = DT9.build_ghost_exchanger()
exchanger()
try:
exchanger()
except TypeError:
assert exchanger is None
DT9.match(DT10)
DT9 == DT10
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment