def add_sequence(self, sequence):
        if isinstance(sequence, str):
            if not sequence in self._sequences:
                self._sequences.append(sequence)
        else:
            raise TypeError('sequence must be a string: %s' % type(sequence))
Tests methods for nickname
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/MHMessage.add_sequence--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-build/python-libs/gdata/tests/gdata_tests/apps/service_test.py/AppsServiceUnitTest01.test004MethodsForNickname