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

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

src/p/y/pycogent-HEAD/tests/test_parse/test_pamlmatrix.py   pycogent(Download)
#!/usr/bin/env python
from StringIO import StringIO
from cogent.util.unit_test import TestCase, main
from cogent.evolve.models import DSO78_matrix, DSO78_freqs
from cogent.parse.paml_matrix import PamlMatrixParser
    def test_parse(self):
        matrix,freqs = PamlMatrixParser(StringIO(data))
        self.assertEqual(DSO78_matrix,matrix)
        self.assertEqual(DSO78_freqs,freqs)
    pass

src/c/o/cogent-1.5.3/tests/test_parse/test_pamlmatrix.py   cogent(Download)
#!/usr/bin/env python
from StringIO import StringIO
from cogent.util.unit_test import TestCase, main
from cogent.evolve.models import DSO78_matrix, DSO78_freqs
from cogent.parse.paml_matrix import PamlMatrixParser
    def test_parse(self):
        matrix,freqs = PamlMatrixParser(StringIO(data))
        self.assertEqual(DSO78_matrix,matrix)
        self.assertEqual(DSO78_freqs,freqs)
    pass