File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 3232)
3333from sys import getfilesystemencoding , platform
3434from typing import Union
35- from warnings import simplefilter
3635from weakref import ref
3736
3837from cryptography import x509
@@ -3121,7 +3120,6 @@ def test_text(self):
31213120 """
31223121 server , client = loopback ()
31233122 with pytest .warns (DeprecationWarning ) as w :
3124- simplefilter ("always" )
31253123 count = server .send (b"xy" .decode ("ascii" ))
31263124 assert "{0} for buf is no longer accepted, use bytes" .format (
31273125 WARNING_TYPE_EXPECTED
@@ -3329,7 +3327,6 @@ def test_text(self):
33293327 """
33303328 server , client = loopback ()
33313329 with pytest .warns (DeprecationWarning ) as w :
3332- simplefilter ("always" )
33333330 server .sendall (b"x" .decode ("ascii" ))
33343331 assert "{0} for buf is no longer accepted, use bytes" .format (
33353332 WARNING_TYPE_EXPECTED
You can’t perform that action at this time.
0 commit comments