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