From 3879356cd153eee353a5501d26224bb84f962442 Mon Sep 17 00:00:00 2001 From: Chi Song <27178119+squirrelsc@users.noreply.github.com> Date: Tue, 22 Sep 2020 08:46:38 +0800 Subject: [PATCH] remove deprecated assert --- examples/testsuites/helloworld.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/testsuites/helloworld.py b/examples/testsuites/helloworld.py index 2e31cbe23..fa03005fc 100644 --- a/examples/testsuites/helloworld.py +++ b/examples/testsuites/helloworld.py @@ -39,8 +39,8 @@ class HelloWorld(TestSuite): echo = node.tools[Echo] hello_world = "hello world!" result = echo.run(hello_world) - self.assertEquals(hello_world, result.stdout) - self.assertEquals("", result.stderr) + self.assertEqual(hello_world, result.stdout) + self.assertEqual("", result.stderr) self.assertEqual(0, result.exit_code) @TestCaseMetadata(