示例#1
0
 def testSaveAndLoadPickleTimePart(self):
     file = io.StandardPickleFile("tmp.pickle")
     self.analog.save(file)
     analog2 = analogs.load_vmlist(file, t_start=0, t_stop=100)
     assert analog2.t_stop == 100
示例#2
0
 def testSaveAndLoadPickle(self):
     file = io.StandardPickleFile("tmp.pickle")
     self.analog.save(file)
     analog2 = analogs.load_vmlist(file)
     assert len(analog2) == len(self.analog)