From 9472b2689ba2bdb5b1dbb16098f97cdb68055f59 Mon Sep 17 00:00:00 2001
From: Jean-Matthieu Etancelin <jean-matthieu.etancelin@univ-reims.fr>
Date: Thu, 7 Jan 2016 15:38:12 +0100
Subject: [PATCH] fix test spectrum

---
 HySoP/hysop/operator/tests/test_spectrum.py | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/HySoP/hysop/operator/tests/test_spectrum.py b/HySoP/hysop/operator/tests/test_spectrum.py
index 0ca10a859..9de2e6ce7 100644
--- a/HySoP/hysop/operator/tests/test_spectrum.py
+++ b/HySoP/hysop/operator/tests/test_spectrum.py
@@ -26,19 +26,8 @@ def test_spectrum():
     op.setup()
     topo = op.discreteFields[field].topology
     field.initialize(topo=topo)
-
-    prt = HDF_Writer(variables={field: topo, },
-                     io_params=IOParams(frequency=1,
-                                        filename='field',
-                                        fileformat=HDF5))
-    prt.discretize()
-    prt.setup()
-
     simu = Simulation(nbIter=1)
     simu.initialize()
     op.apply(simu)
-    prt.apply(simu)
 
 
-if __name__ == '__main__':
-    test_spectrum()
-- 
GitLab