6060from test .support import import_helper
6161from test .support import os_helper
6262from test .support import patch_list
63- from test .support import requires_zlib
6463
6564
6665class BdbException (Exception ): pass
@@ -635,7 +634,6 @@ def test_next(self):
635634 with TracerRun (self ) as tracer :
636635 tracer .runcall (tfunc_main )
637636
638- @requires_zlib
639637 def test_next_over_import (self ):
640638 code = """
641639 def main():
@@ -731,7 +729,6 @@ def test_until_in_caller_frame(self):
731729 tracer .runcall (tfunc_main )
732730
733731 @patch_list (sys .meta_path )
734- @requires_zlib
735732 def test_skip (self ):
736733 # Check that tracing is skipped over the import statement in
737734 # 'tfunc_import()'.
@@ -792,7 +789,6 @@ def test_bp_on_non_existent_module(self):
792789 with TracerRun (self ) as tracer :
793790 self .assertRaises (BdbError , tracer .runcall , tfunc_import )
794791
795- @requires_zlib
796792 def test_bp_after_last_statement (self ):
797793 code = """
798794 def main():
@@ -806,7 +802,6 @@ def main():
806802 with TracerRun (self ) as tracer :
807803 self .assertRaises (BdbError , tracer .runcall , tfunc_import )
808804
809- @requires_zlib
810805 def test_temporary_bp (self ):
811806 code = """
812807 def func():
@@ -858,7 +853,6 @@ def main():
858853 with TracerRun (self ) as tracer :
859854 tracer .runcall (tfunc_import )
860855
861- @requires_zlib
862856 def test_bp_condition (self ):
863857 code = """
864858 def func(a):
@@ -879,7 +873,6 @@ def main():
879873 with TracerRun (self ) as tracer :
880874 tracer .runcall (tfunc_import )
881875
882- @requires_zlib
883876 def test_bp_exception_on_condition_evaluation (self ):
884877 code = """
885878 def func(a):
@@ -899,7 +892,6 @@ def main():
899892 with TracerRun (self ) as tracer :
900893 tracer .runcall (tfunc_import )
901894
902- @requires_zlib
903895 def test_bp_ignore_count (self ):
904896 code = """
905897 def func():
@@ -921,7 +913,6 @@ def main():
921913 with TracerRun (self ) as tracer :
922914 tracer .runcall (tfunc_import )
923915
924- @requires_zlib
925916 def test_ignore_count_on_disabled_bp (self ):
926917 code = """
927918 def func():
@@ -949,7 +940,6 @@ def main():
949940 with TracerRun (self ) as tracer :
950941 tracer .runcall (tfunc_import )
951942
952- @requires_zlib
953943 def test_clear_two_bp_on_same_line (self ):
954944 code = """
955945 def func():
@@ -1040,7 +1030,6 @@ def test_run_step(self):
10401030 with TracerRun (self ) as tracer :
10411031 tracer .run (compile (textwrap .dedent (code ), '<string>' , 'exec' ))
10421032
1043- @requires_zlib
10441033 def test_runeval_step (self ):
10451034 # Test bdb 'runeval'.
10461035 code = """
@@ -1064,7 +1053,6 @@ def main():
10641053class IssuesTestCase (BaseTestCase ):
10651054 """Test fixed bdb issues."""
10661055
1067- @requires_zlib
10681056 def test_step_at_return_with_no_trace_in_caller (self ):
10691057 # Issue #13183.
10701058 # Check that the tracer does step into the caller frame when the
@@ -1095,7 +1083,6 @@ def func():
10951083 with TracerRun (self ) as tracer :
10961084 tracer .runcall (tfunc_import )
10971085
1098- @requires_zlib
10991086 def test_next_until_return_in_generator (self ):
11001087 # Issue #16596.
11011088 # Check that set_next(), set_until() and set_return() do not treat the
@@ -1137,7 +1124,6 @@ def main():
11371124 with TracerRun (self ) as tracer :
11381125 tracer .runcall (tfunc_import )
11391126
1140- @requires_zlib
11411127 def test_next_command_in_generator_for_loop (self ):
11421128 # Issue #16596.
11431129 code = """
@@ -1169,7 +1155,6 @@ def main():
11691155 with TracerRun (self ) as tracer :
11701156 tracer .runcall (tfunc_import )
11711157
1172- @requires_zlib
11731158 def test_next_command_in_generator_with_subiterator (self ):
11741159 # Issue #16596.
11751160 code = """
@@ -1201,7 +1186,6 @@ def main():
12011186 with TracerRun (self ) as tracer :
12021187 tracer .runcall (tfunc_import )
12031188
1204- @requires_zlib
12051189 def test_return_command_in_generator_with_subiterator (self ):
12061190 # Issue #16596.
12071191 code = """
0 commit comments