Skip to content

Commit 568f133

Browse files
Removing unit test that is now part of #2134
1 parent 0287d7c commit 568f133

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/v4/test_particleset.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,6 @@ def test_pset_with_pids(fieldset, offset, npart=100):
5454
assert np.allclose([p.trajectory for p in pset], trajectory_ids, atol=1e-12)
5555

5656

57-
def test_multivars_on_pset():
58-
MyParticleLoop = Particle
59-
vars = ["sample_var", "sample_var2"]
60-
for var in vars:
61-
MyParticleLoop = MyParticleLoop.add_variable(Variable(var))
62-
63-
MyParticleList = Particle.add_variable([Variable(var) for var in vars])
64-
65-
for var in vars:
66-
assert hasattr(MyParticleLoop, var), f"Variable {var} not added to MyParticleLoop"
67-
assert hasattr(MyParticleList, var), f"Variable {var} not added to MyParticleList"
68-
69-
7057
@pytest.mark.parametrize("aslist", [True, False])
7158
def test_pset_customvars_on_pset(fieldset, aslist):
7259
if aslist:

0 commit comments

Comments
 (0)