1# -*- coding: utf-8 -*-
2from .helper import check_evaluation
3
4def test_to_infinity():
5    for str_expr, str_expected, message in (
6        (
7            "PythonForm[Infinity]",
8            '"math.inf"',
9            "Infinity",
10        ),
11        (
12            "PythonForm[{1, 2, 3, 4}]",
13            '"[1, 2, 3, 4]"',
14            "Simple List of integers",
15        ),
16        (
17            "Pi // PythonForm",
18            '"sympy.pi"',
19            "Pi",
20        ),
21
22    ):
23        check_evaluation(str_expr, str_expected, message)
24