#NEWLINE# def test_symbols( ) : #NEWLINE# #INDENT# foo = symbol ( 'foo' ) #NEWLINE# assert ( foo . name == 'foo' ) #NEWLINE# assert ( foo is symbol ( 'foo' ) ) #NEWLINE# bar = symbol ( 'bar' ) #NEWLINE# assert ( foo is not bar ) #NEWLINE# assert ( foo != bar ) #NEWLINE# assert ( not ( foo == bar ) ) #NEWLINE# assert ( repr ( foo ) == 'foo' )