3 from tests.package.test_python import TestPythonBase
5 # The following pythong tests are not being used here:
7 # - version_test: IPython does not support --version option
9 # - zlib_test: IPython does not return a non-zero code the way CPython
10 # does, so this test ends up being a false-negative
12 class TestIPythonPy2(TestPythonBase):
13 config = TestPythonBase.config + \
16 BR2_PACKAGE_PYTHON_IPYTHON=y
18 interpreter = "ipython"
22 self.math_floor_test(40)
23 self.libc_time_test(40)
25 class TestIPythonPy3(TestPythonBase):
26 config = TestPythonBase.config + \
29 BR2_PACKAGE_PYTHON_IPYTHON=y
31 interpreter = "ipython"
35 self.math_floor_test(40)
36 self.libc_time_test(40)