From b698b349c827f30fa60de55e2469a21ae4342669 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Tue, 31 Mar 2020 16:32:40 -0400 Subject: CiTestCase: stop using and remove sys_exit helper (#283) This shim was required to support Python 2.6, so we no longer need it. --- cloudinit/cmd/tests/test_clean.py | 1 - 1 file changed, 1 deletion(-) (limited to 'cloudinit/cmd/tests/test_clean.py') diff --git a/cloudinit/cmd/tests/test_clean.py b/cloudinit/cmd/tests/test_clean.py index 13a69aa1..a848a810 100644 --- a/cloudinit/cmd/tests/test_clean.py +++ b/cloudinit/cmd/tests/test_clean.py @@ -167,7 +167,6 @@ class TestClean(CiTestCase): wrap_and_call( 'cloudinit.cmd.clean', {'Init': {'side_effect': self.init_class}, - 'sys.exit': {'side_effect': self.sys_exit}, 'sys.argv': {'new': ['clean', '--logs']}}, clean.main) -- cgit v1.2.3