fdd6fcc21fd42a55f9988681850348e9f8201446,skbio/sequence/tests/test_sequence.py,SequenceInterfaceTests,test___getitem___gives_new_sequence,#SequenceInterfaceTests#,53

Before Change


        pass

    def test___getitem___gives_new_sequence(self):
        seq = self.cls(self.sample_sequence)
        self.assertFalse(seq is seq[:])


    def test___getitem___with_int(self):

After Change




    def test___getitem___gives_new_sequence(self):
        Seq, string, _, _ = self._getitem_compenents()

        seq = Seq(string)
        self.assertFalse(seq is seq[:])

    def test___getitem___with_int_and_slice(self):
        Seq, string, qual, max_range = self._getitem_compenents()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: biocore/scikit-bio
Commit Name: fdd6fcc21fd42a55f9988681850348e9f8201446
Time: 2015-03-22
Author: ebolyen@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: SequenceInterfaceTests
Method Name: test___getitem___gives_new_sequence


Project Name: biocore/scikit-bio
Commit Name: fdd6fcc21fd42a55f9988681850348e9f8201446
Time: 2015-03-22
Author: ebolyen@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: SequenceInterfaceTests
Method Name: test___getitem___gives_new_sequence


Project Name: biocore/scikit-bio
Commit Name: fdd6fcc21fd42a55f9988681850348e9f8201446
Time: 2015-03-22
Author: ebolyen@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: SequenceInterfaceTests
Method Name: test___getitem___with_invalid


Project Name: biocore/scikit-bio
Commit Name: fdd6fcc21fd42a55f9988681850348e9f8201446
Time: 2015-03-22
Author: ebolyen@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: SequenceInterfaceTests
Method Name: test___getitem___with_mask