From d1074a1c42582328bff21c086b81018c38e28c0d Mon Sep 17 00:00:00 2001 From: Vaibhav Gupta Date: Wed, 21 Jun 2017 21:36:31 +0530 Subject: [PATCH] Use deepcopy for atomic_dataset in Simultation hdf fixture in conftest.py --- tardis/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tardis/conftest.py b/tardis/conftest.py index 1f5257fe80b..15222177777 100644 --- a/tardis/conftest.py +++ b/tardis/conftest.py @@ -140,6 +140,7 @@ def config_verysimple(): @pytest.fixture(scope="session") def simulation_verysimple(config_verysimple, atomic_dataset): - sim = Simulation.from_config(config_verysimple, atom_data=atomic_dataset) + atomic_data = deepcopy(atomic_dataset) + sim = Simulation.from_config(config_verysimple, atom_data=atomic_data) sim.iterate(4000) return sim