summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-06-22 12:33:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-25 21:12:39 +0100
commitb687627e9cffb8123c156413f55ea1929f1a7831 (patch)
tree1bc6b4b83376d5d56f6ad9e5e2956b800c276ef3
parent10f3a9d5173ef4bf92ff4a7d8aef0cd2cb23e4d4 (diff)
downloadopenembedded-core-b687627e9cffb8123c156413f55ea1929f1a7831.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>
-rw-r--r--meta/lib/oeqa/sdk/cases/python.py11
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