diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-06-22 12:33:12 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-07-01 06:23:58 -1000 |
commit | 53eca714b874d2cd323ab6d3e11641fdf746a980 (patch) | |
tree | d8c97b6162210e9dd509900543286405c54c67af | |
parent | a9debe6e606ac389124cca032a902e99bd48b1e6 (diff) | |
download | openembedded-core-contrib-53eca714b874d2cd323ab6d3e11641fdf746a980.tar.gz |
oeqa/sdk: drop the nativesdk-python 2.x test
Python 2.x has been EOL for a while, and so this test
never runs.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b687627e9cffb8123c156413f55ea1929f1a7831)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/lib/oeqa/sdk/cases/python.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/lib/oeqa/sdk/cases/python.py b/meta/lib/oeqa/sdk/cases/python.py index a334abce5f..d43354c32a 100644 --- a/meta/lib/oeqa/sdk/cases/python.py +++ b/meta/lib/oeqa/sdk/cases/python.py @@ -8,17 +8,6 @@ from oeqa.sdk.case import OESDKTestCase from oeqa.utils.subprocesstweak import errors_have_output errors_have_output() -class Python2Test(OESDKTestCase): - def setUp(self): - if not (self.tc.hasHostPackage("nativesdk-python-core") or - self.tc.hasHostPackage("python-core-native")): - raise unittest.SkipTest("No python package in the SDK") - - def test_python2(self): - cmd = "python -c \"import codecs; print(codecs.encode('Uryyb, jbeyq', 'rot13'))\"" - output = self._run(cmd) - self.assertEqual(output, "Hello, world\n") - class Python3Test(OESDKTestCase): def setUp(self): if not (self.tc.hasHostPackage("nativesdk-python3-core") or |