summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/sdk/buildtools-cases/sanity.py2
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py2
-rw-r--r--meta/lib/oeqa/selftest/cases/liboe.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/sdk/buildtools-cases/sanity.py b/meta/lib/oeqa/sdk/buildtools-cases/sanity.py
index b9dfa39a06..a55d456656 100644
--- a/meta/lib/oeqa/sdk/buildtools-cases/sanity.py
+++ b/meta/lib/oeqa/sdk/buildtools-cases/sanity.py
@@ -21,4 +21,4 @@ class SanityTests(OESDKTestCase):
21 # Canonicalise the location of this command 21 # Canonicalise the location of this command
22 tool_path = os.path.realpath(self._run("command -v %s" % command).strip()) 22 tool_path = os.path.realpath(self._run("command -v %s" % command).strip())
23 # Assert that the tool was found inside the SDK root 23 # Assert that the tool was found inside the SDK root
24 self.assertEquals(os.path.commonprefix((sdk_base, tool_path)), sdk_base) 24 self.assertEqual(os.path.commonprefix((sdk_base, tool_path)), sdk_base)
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index 15249b70fd..dd3a5e9b5c 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -1097,7 +1097,7 @@ class DevtoolModifyTests(DevtoolBase):
1097 runCmd('git -C %s checkout %s' % (tempdir, branch)) 1097 runCmd('git -C %s checkout %s' % (tempdir, branch))
1098 with open(source, "rt") as f: 1098 with open(source, "rt") as f:
1099 content = f.read() 1099 content = f.read()
1100 self.assertEquals(content, expected) 1100 self.assertEqual(content, expected)
1101 if self.td["MACHINE"] == "qemux86": 1101 if self.td["MACHINE"] == "qemux86":
1102 check('devtool', 'This is a test for qemux86\n') 1102 check('devtool', 'This is a test for qemux86\n')
1103 elif self.td["MACHINE"] == "qemuarm": 1103 elif self.td["MACHINE"] == "qemuarm":
diff --git a/meta/lib/oeqa/selftest/cases/liboe.py b/meta/lib/oeqa/selftest/cases/liboe.py
index fab6929198..d5ffffdcb4 100644
--- a/meta/lib/oeqa/selftest/cases/liboe.py
+++ b/meta/lib/oeqa/selftest/cases/liboe.py
@@ -99,6 +99,6 @@ class LibOE(OESelftestTestCase):
99 99
100 dstcnt = len(os.listdir(dst)) 100 dstcnt = len(os.listdir(dst))
101 srccnt = len(os.listdir(src)) 101 srccnt = len(os.listdir(src))
102 self.assertEquals(dstcnt, len(testfiles), "Number of files in dst (%s) differs from number of files in src(%s)." % (dstcnt, srccnt)) 102 self.assertEqual(dstcnt, len(testfiles), "Number of files in dst (%s) differs from number of files in src(%s)." % (dstcnt, srccnt))
103 103
104 oe.path.remove(testloc) 104 oe.path.remove(testloc)