Commit 74dbc765 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[1828] Don't redirect stderr in tests

parent 9040c490
......@@ -99,8 +99,6 @@ class MyZonemgrRefresh(ZonemgrRefresh):
class TestZonemgrRefresh(unittest.TestCase):
def setUp(self):
self.stderr_backup = sys.stderr
sys.stderr = open(os.devnull, 'w')
self.zone_refresh = MyZonemgrRefresh()
self.cc_session = FakeCCSession()
......@@ -602,10 +600,6 @@ class TestZonemgrRefresh(unittest.TestCase):
config, self.cc_session)
def tearDown(self):
sys.stderr = self.stderr_backup
class MyZonemgr(Zonemgr):
def __init__(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment