def test_phone_tokenizer(self):
    '\n        Test a string that resembles a phone number but contains a newline\n        '
    tokenizer = TweetTokenizer()
    test1 = '(393)  928 -3010'
    expected = ['(393)  928 -3010']
    result = tokenizer.tokenize(test1)
    assert (result == expected)
    test2 = '(393)\n928 -3010'
    expected = ['(', '393', ')', '928 -3010']
    result = tokenizer.tokenize(test2)
    assert (result == expected)
Test a string that resembles a phone number but contains a newline
def test_phone_tokenizer(self):
    '\n        \n        '
    tokenizer = TweetTokenizer()
    test1 = '(393)  928 -3010'
    expected = ['(393)  928 -3010']
    result = tokenizer.tokenize(test1)
    assert (result == expected)
    test2 = '(393)\n928 -3010'
    expected = ['(', '393', ')', '928 -3010']
    result = tokenizer.tokenize(test2)
    assert (result == expected)