Example #1
0
def test_token_assign_name():
    t = Token()
    t.name = 'test'
def test_token_assign_name():
    t = Token('hello', b'world')
    t.name = 'test'
Example #3
0
def test_token_assign_name():
    t = Token()
    t.name = 'test'
Example #4
0
def test_token_assign_name():
    t = Token('hello', b'world')
    t.name = 'test'
def test_token_assign_name():
    with pytest.raises(AttributeError):
        t = Token('hello', u'world')
        t.name = 'test'