From 9960867d9653da55078971f0dea289f0ff714042 Mon Sep 17 00:00:00 2001 From: Kauser Zulfiqar Date: Tue, 27 Feb 2024 17:28:51 +0100 Subject: [PATCH] removed dynamics as it is not required for RelaxDriver --- micromagnetictests/calculatortests/relaxdriver.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/micromagnetictests/calculatortests/relaxdriver.py b/micromagnetictests/calculatortests/relaxdriver.py index 62b4928..853a6bb 100644 --- a/micromagnetictests/calculatortests/relaxdriver.py +++ b/micromagnetictests/calculatortests/relaxdriver.py @@ -36,8 +36,3 @@ def test_check_for_energy_and_dynamics(calculator): with pytest.raises(RuntimeError, match="System's energy is not defined"): md.drive(system) - - system.dynamics = 0 - - with pytest.raises(RuntimeError, match="System's dynamics is not defined"): - md.drive(system)