<s> import unittest <EOL> import arff <EOL> class TestDecodeComment ( unittest . TestCase ) : <EOL> def get_decoder ( self ) : <EOL> decoder = arff . ArffDecoder ( ) <EOL> return decoder <EOL> def test_simple ( self ) : <EOL> '''<STR_LIT>''' <EOL> decoder = self . get_decoder ( ) <EOL> fixture = u'<STR_LIT>' <EOL> result = decoder . _decode_comment ( fixture ) <EOL> expected = u'<STR_LIT>' <EOL> self . assertEqual ( result , expected ) <EOL> def test_padding ( self ) : <EOL> '''<STR_LIT>''' <EOL> decoder = self . get_decoder ( ) <EOL> fixture = u'<STR_LIT>' <EOL> result = decoder . _decode_comment ( fixture ) <EOL> expected = u'<STR_LIT>' <EOL> self . assertEqual ( result , expected ) </s>
