@@ -2420,13 +2420,10 @@ def testReservedIpv6(self):
24202420
24212421 with self .assertWarns (DeprecationWarning ):
24222422 self .assertEqual (True , ipaddress .ip_network ('fecf::' ).is_site_local )
2423- with self .assertWarns (DeprecationWarning ):
24242423 self .assertEqual (True , ipaddress .ip_network (
24252424 'feff:ffff:ffff:ffff::' ).is_site_local )
2426- with self .assertWarns (DeprecationWarning ):
24272425 self .assertEqual (False , ipaddress .ip_network (
24282426 'fbf:ffff::' ).is_site_local )
2429- with self .assertWarns (DeprecationWarning ):
24302427 self .assertEqual (False , ipaddress .ip_network ('ff00::' ).is_site_local )
24312428
24322429 self .assertEqual (True , ipaddress .ip_network ('fc00::' ).is_private )
@@ -2463,13 +2460,10 @@ def testReservedIpv6(self):
24632460
24642461 with self .assertWarns (DeprecationWarning ):
24652462 self .assertEqual (True , ipaddress .ip_address ('fecf::' ).is_site_local )
2466- with self .assertWarns (DeprecationWarning ):
24672463 self .assertEqual (True , ipaddress .ip_address (
24682464 'feff:ffff:ffff:ffff::' ).is_site_local )
2469- with self .assertWarns (DeprecationWarning ):
24702465 self .assertEqual (False , ipaddress .ip_address (
24712466 'fbf:ffff::' ).is_site_local )
2472- with self .assertWarns (DeprecationWarning ):
24732467 self .assertEqual (False , ipaddress .ip_address ('ff00::' ).is_site_local )
24742468
24752469 self .assertEqual (True , ipaddress .ip_address ('fc00::' ).is_private )
0 commit comments