From 772d263276b111e584bc439a1212e16d97222800 Mon Sep 17 00:00:00 2001 From: Lukas Klenk Date: Tue, 29 Mar 2022 17:31:33 +0000 Subject: [PATCH] Remove breakpoints from testing --- tests/test_pysnooper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_pysnooper.py b/tests/test_pysnooper.py index fe1eca3..09e0132 100644 --- a/tests/test_pysnooper.py +++ b/tests/test_pysnooper.py @@ -1947,7 +1947,7 @@ def test_valid_zipfile(): python_file_path.unlink() folder.joinpath(zip_name).rename(folder.joinpath('%s.delete' % (zip_name))) folder.joinpath('foo_bar.zip').rename(folder.joinpath(zip_name)) - breakpoint() + with mini_toolbox.OutputCapturer(stdout=False, stderr=True) as output_capturer: result = getattr(module, 'f')(7) @@ -1999,7 +1999,7 @@ def test_invalid_zipfile(): python_file_path.unlink() folder.joinpath(zip_name).rename(folder.joinpath('%s.delete' % (zip_name))) folder.joinpath('foo_bar.zip').rename(folder.joinpath(zip_name)) - breakpoint() + with mini_toolbox.OutputCapturer(stdout=False, stderr=True) as output_capturer: result = getattr(module, 'f')(7) @@ -2047,7 +2047,7 @@ def test_valid_damaged_zipfile(): folder.joinpath(zip_name).rename(folder.joinpath('%s.delete' % (zip_name))) folder.joinpath(zip_name).write_text('I am not a zip file') - breakpoint() + with mini_toolbox.OutputCapturer(stdout=False, stderr=True) as output_capturer: result = getattr(module, 'f')(7)