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 32
32
)
33
33
from sys import getfilesystemencoding , platform
34
34
from typing import Union
35
- from warnings import simplefilter
36
35
from weakref import ref
37
36
38
37
from cryptography import x509
@@ -3121,7 +3120,6 @@ def test_text(self):
3121
3120
"""
3122
3121
server , client = loopback ()
3123
3122
with pytest .warns (DeprecationWarning ) as w :
3124
- simplefilter ("always" )
3125
3123
count = server .send (b"xy" .decode ("ascii" ))
3126
3124
assert "{0} for buf is no longer accepted, use bytes" .format (
3127
3125
WARNING_TYPE_EXPECTED
@@ -3329,7 +3327,6 @@ def test_text(self):
3329
3327
"""
3330
3328
server , client = loopback ()
3331
3329
with pytest .warns (DeprecationWarning ) as w :
3332
- simplefilter ("always" )
3333
3330
server .sendall (b"x" .decode ("ascii" ))
3334
3331
assert "{0} for buf is no longer accepted, use bytes" .format (
3335
3332
WARNING_TYPE_EXPECTED
You can’t perform that action at this time.
0 commit comments