1from tests.package.test_python import TestPythonBase 2# 3# The following pythong tests are not being used here: 4# 5# - version_test: IPython does not support --version option 6# 7# - zlib_test: IPython does not return a non-zero code the way CPython 8# does, so this test ends up being a false-negative 9 10 11class TestIPythonPy3(TestPythonBase): 12 config = TestPythonBase.config + \ 13 """ 14 BR2_PACKAGE_PYTHON3=y 15 BR2_PACKAGE_PYTHON_IPYTHON=y 16 """ 17 interpreter = "ipython" 18 19 def test_run(self): 20 self.login() 21 self.math_floor_test(40) 22 self.libc_time_test(40) 23