def test_lex_mangling_hyphen():
 entry = tokenize('foo-bar')
 assert (entry == [HySymbol('foo_bar')])
 entry = tokenize('-')
 assert (entry == [HySymbol('-')])

def test_lex_mangling_hyphen ( ) : entry = tokenize ( 'foo-bar' ) assert ( entry == [ HySymbol ( 'foo_bar' ) ] ) entry = tokenize ( '-' ) assert ( entry == [ HySymbol ( '-' ) ] )
ensure that hyphens get translated to underscores during mangling .