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

All Samples(9)  |  Call(8)  |  Derive(0)  |  Import(1)

src/s/e/seq_crumbs-HEAD/test/test_bulk_filters.py   seq_crumbs(Download)
from crumbs.seq import SeqWrapper, SeqItem
from crumbs.utils.tags import SEQITEM
from crumbs.bulk_filters import (filter_duplicates, _read_pairs,
                                 _seqitem_pairs_equal)
from crumbs.utils.bin_utils import BIN_DIR
        counts = 0
        for pair2 in filtered_pairs:
            if _seqitem_pairs_equal(pair1, pair2):
                counts += 1
        assert counts == 1
        pair4 = (seq2, seq1)
 
        assert _seqitem_pairs_equal(pair1, pair3)
        assert _seqitem_pairs_equal(pair1, pair2) == False
        assert _seqitem_pairs_equal(pair1, pair4) == False