"serialization/tests/TestSerializeDPDIntegrator.cpp" did not exist on "2a53088236129e8a85e7d63965d8cce56212ba25"
Commit 5e733a33 authored by Robert McGibbon's avatar Robert McGibbon
Browse files

Close file before deleting in TestAmberPrmtopFile.py

parent 7ee7de16
...@@ -315,6 +315,7 @@ class TestAmberPrmtopFile(unittest.TestCase): ...@@ -315,6 +315,7 @@ class TestAmberPrmtopFile(unittest.TestCase):
fname = tempfile.mktemp(suffix='.dcd') fname = tempfile.mktemp(suffix='.dcd')
simulation.reporters.append(DCDReporter(fname, 1)) # This is an explicit test for the bugs in issue #850 simulation.reporters.append(DCDReporter(fname, 1)) # This is an explicit test for the bugs in issue #850
simulation.step(5) simulation.step(5)
del simulation
os.remove(fname) os.remove(fname)
def testChamber(self): def testChamber(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment