From b47827fb5493b96b116224d92d4f6939635737ad Mon Sep 17 00:00:00 2001 From: cis-kuldeep Date: Mon, 12 Jul 2021 19:29:08 +0530 Subject: [PATCH] reverted some changes --- src/tests/test_process.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/tests/test_process.py b/src/tests/test_process.py index 72e532fd..fe234247 100644 --- a/src/tests/test_process.py +++ b/src/tests/test_process.py @@ -13,8 +13,6 @@ import psutil from .common import cleanup, put_signal_file -PY3 = sys.version_info[0] >= 3 - class TestProcessProto(unittest.TestCase): """Test case implementing common logic for external testing: @@ -192,10 +190,7 @@ class TestProcess(TestProcessProto): """A test case for pybitmessage process""" def test_process_name(self): """Check PyBitmessage process name""" - if PY3: - self.assertEqual(self.process.name(), 'pybitmessage') - else: - self.assertEqual(self.process.name(), 'PyBitmessage') + self.assertEqual(self.process.name(), 'PyBitmessage') @unittest.skipIf(psutil.version_info < (4, 0), 'psutil is too old') def test_home(self):