def test_float_literals(self):
    self.assertRaises(SyntaxError, eval, '2e')
    self.assertRaises(SyntaxError, eval, '2.0e+')
    self.assertRaises(SyntaxError, eval, '1e-')
    self.assertRaises(SyntaxError, eval, '3-4e/21')
def test_float_literals(self):
    self.assertRaises(SyntaxError, eval, '2e')
    self.assertRaises(SyntaxError, eval, '2.0e+')
    self.assertRaises(SyntaxError, eval, '1e-')
    self.assertRaises(SyntaxError, eval, '3-4e/21')