17809276b5
Since commit 6ebaef3818
("package/python-ipython: bump to version 7.4.0"), ipython is no
longer available for Python 2.x, as it requires Python 3.x.
However, the corresponding test case that was testing iPython under
Python 2.x was not removed at the same time, causing a failure of
TestIPythonPy2 test. Let's drop the test that is no longer relevant.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/210208754
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
619 B
Python
23 lines
619 B
Python
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
|
|
|
|
|
|
class TestIPythonPy3(TestPythonBase):
|
|
config = TestPythonBase.config + \
|
|
"""
|
|
BR2_PACKAGE_PYTHON3=y
|
|
BR2_PACKAGE_PYTHON_IPYTHON=y
|
|
"""
|
|
interpreter = "ipython"
|
|
|
|
def test_run(self):
|
|
self.login()
|
|
self.math_floor_test(40)
|
|
self.libc_time_test(40)
|