def test_to_number_expr(self): self.assertJson(query.to_number("42"), '{"to_number":"42"}')
def test_to_number(self): self.assertEqual(self._q(query.to_number("42")), 42)