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/c/o/cogent-1.5.3/tests/test_parse/test_binary_sff.py   cogent(Download)
from unittest import TestCase, main
 
from cogent.parse.binary_sff import (
    seek_pad, parse_common_header, parse_read_header, parse_read_data,
    validate_common_header, parse_read, parse_binary_sff, UnsupportedSffError,
    def test_write_read_data(self):
        write_read_data(self.output_file, READ_DATA)
 
        file_pos = self.output_file.tell()
        self.assertTrue(file_pos % 8 == 0)

src/p/y/pycogent-HEAD/tests/test_parse/test_binary_sff.py   pycogent(Download)
from unittest import TestCase, main
 
from cogent.parse.binary_sff import (
    seek_pad, parse_common_header, parse_read_header, parse_read_data,
    validate_common_header, parse_read, parse_binary_sff, UnsupportedSffError,
    def test_write_read_data(self):
        write_read_data(self.output_file, READ_DATA)
 
        file_pos = self.output_file.tell()
        self.assertTrue(file_pos % 8 == 0)