Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/b/i/biopython-HEAD/Tests/test_SCOP_Des.py   biopython(Download)
        try:
            for line in f:
                record = Des.Record(line)
                #End of line is platform dependent. Strip it off
                self.assertEqual(str(record).rstrip(), line.rstrip())
        recFields = (49268, 'sp', 'b.1.2.1', '', 'Human (Homo sapiens)')
 
        record = Des.Record(recLine)
        self.assertEqual(record.sunid, recFields[0])
        self.assertEqual(record.nodetype, recFields[1])

src/b/i/biopython-1.63/Tests/test_SCOP_Des.py   biopython(Download)
        try:
            for line in f:
                record = Des.Record(line)
                #End of line is platform dependent. Strip it off
                self.assertEqual(str(record).rstrip(), line.rstrip())
        recFields = (49268, 'sp', 'b.1.2.1', '', 'Human (Homo sapiens)')
 
        record = Des.Record(recLine)
        self.assertEqual(record.sunid, recFields[0])
        self.assertEqual(record.nodetype, recFields[1])