diff --git a/qa/unittests/pcbnew/test_zone_filler.cpp b/qa/unittests/pcbnew/test_zone_filler.cpp index 51ae5fd967..f62d81f9d8 100644 --- a/qa/unittests/pcbnew/test_zone_filler.cpp +++ b/qa/unittests/pcbnew/test_zone_filler.cpp @@ -147,21 +147,8 @@ BOOST_FIXTURE_TEST_CASE( NotchedZones, ZONE_FILL_TEST_FIXTURE ) // https://gitlab.com/kicad/code/kicad/-/issues/2737 // https://gitlab.com/kicad/code/kicad/-/issues/2752 - // First, run a sanity check to validate that the saved board still has holes. SHAPE_POLY_SET frontCopper; - for( ZONE* zone : m_board->Zones() ) - { - if( zone->GetLayerSet().Contains( F_Cu ) ) - { - frontCopper.BooleanAdd( *zone->GetFilledPolysList( F_Cu ), - SHAPE_POLY_SET::PM_STRICTLY_SIMPLE ); - } - } - - BOOST_CHECK_GT( frontCopper.OutlineCount(), 2 ); - - // Now re-fill and make sure the holes are gone. KI_TEST::FillZones( m_board.get() ); frontCopper = SHAPE_POLY_SET();