Commits

Erik Bray  committed 5f2212d

Make this test less chatty

  • Participants
  • Parent commits 971c557

Comments (0)

Files changed (1)

File setuptools/tests/test_easy_install.py

                 )
             """))
 
+        old_stdout = sys.stdout
+        old_stderr = sys.stderr
+        sys.stdout = StringIO.StringIO()
+        sys.stderr = StringIO.StringIO()
         try:
             reset_setup_stop_context(
                 lambda: run_setup(test_setup_py, ['install'])
             )
         except SandboxViolation:
             self.fail('Installation caused SandboxViolation')
+        finally:
+            sys.stdout = old_stdout
+            sys.stderr = old_stderr
 
 
 class TestSetupRequires(unittest.TestCase):