def test_num_reads():
 reads_count = 0
 rparser = ReadParser(utils.get_test_data('100-reads.fq.gz'))
 for _ in rparser:
  reads_count += 1
 assert (reads_count == 100)
 assert (rparser.num_reads == 100)

def test_num_reads ( ) : reads_count = 0 rparser = ReadParser ( utils . get_test_data ( '100-reads.fq.gz' ) ) for _ in rparser : reads_count += 1 assert ( reads_count == 100 ) assert ( rparser . num_reads == 100 )
test readparser .