Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
christophlohrmann committed Apr 26, 2024
1 parent 40a9446 commit 21b2cc0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions testsuite/python/cutoffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ def test_1max_cut(self):
@utx.skipIfMissingFeatures(["LENNARD_JONES",
"VIRTUAL_SITES_RELATIVE", "COLLISION_DETECTION", "DP3M"])
def test_2cutoff_by_type(self):
import espressomd.virtual_sites

sys = self.system
min_global_cut = 0.1
sys.min_global_cut = min_global_cut
Expand All @@ -103,8 +101,6 @@ def test_2cutoff_by_type(self):
sys.non_bonded_inter[0, 2].lennard_jones.set_params(
sigma=0.1, epsilon=1, cutoff=2, shift="auto")
self.assertEqual(sys.cutoff_by_types([0, 2]), 2)

sys.virtual_sites = espressomd.virtual_sites.VirtualSitesRelative()
bond = espressomd.interactions.HarmonicBond(k=1000, r_0=0)
sys.bonded_inter.add(bond)
sys.collision_detection.set_params(
Expand Down

0 comments on commit 21b2cc0

Please sign in to comment.