2017-07-12 04:40:09 +02:00
|
|
|
from tests.package.test_python import TestPythonBase
|
|
|
|
#
|
|
|
|
# The following pythong tests are not being used here:
|
|
|
|
#
|
|
|
|
# - version_test: IPython does not support --version option
|
|
|
|
#
|
|
|
|
# - zlib_test: IPython does not return a non-zero code the way CPython
|
|
|
|
# does, so this test ends up being a false-negative
|
2017-10-05 23:42:09 +02:00
|
|
|
|
|
|
|
|
2017-07-12 04:40:09 +02:00
|
|
|
class TestIPythonPy3(TestPythonBase):
|
|
|
|
config = TestPythonBase.config + \
|
2017-10-05 23:42:08 +02:00
|
|
|
"""
|
|
|
|
BR2_PACKAGE_PYTHON3=y
|
|
|
|
BR2_PACKAGE_PYTHON_IPYTHON=y
|
|
|
|
"""
|
2017-07-12 04:40:09 +02:00
|
|
|
interpreter = "ipython"
|
|
|
|
|
|
|
|
def test_run(self):
|
|
|
|
self.login()
|
|
|
|
self.math_floor_test(40)
|
|
|
|
self.libc_time_test(40)
|