def test_lex_fractions():
 objs = tokenize('1/2')
 assert (objs == [HyExpression([HySymbol('fraction'), HyInteger(1), HyInteger(2)])])

def test_lex_fractions ( ) : objs = tokenize ( '1/2' ) assert ( objs == [ HyExpression ( [ HySymbol ( 'fraction' ) , HyInteger ( 1 ) , HyInteger ( 2 ) ] ) ] )
make sure that fractions are valid expressions .