Skip to content

Commit

Permalink
Use deepcopy for atomic_dataset in Simultation hdf fixture in conftes…
Browse files Browse the repository at this point in the history
…t.py
  • Loading branch information
vg3095 committed Jun 22, 2017
1 parent ca67fb0 commit d1074a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tardis/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d1074a1

Please sign in to comment.