File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -324,16 +324,6 @@ def requires(resource, msg=None):
324324 if resource == 'gui' and not _is_gui_available ():
325325 raise ResourceDenied (_is_gui_available .reason )
326326
327- def _get_kernel_version (sysname = "Linux" ):
328- import platform
329- if platform .system () != sysname :
330- return None
331- version_txt = platform .release ().split ('-' , 1 )[0 ]
332- try :
333- return tuple (map (int , version_txt .split ('.' )))
334- except ValueError :
335- return None
336-
337327def _requires_unix_version (sysname , min_version ):
338328 """Decorator raising SkipTest if the OS is `sysname` and the version is less
339329 than `min_version`.
Original file line number Diff line number Diff line change @@ -7191,12 +7191,6 @@ def test_aes_cbc(self):
71917191
71927192 @support .requires_linux_version (4 , 9 ) # see gh-73510
71937193 def test_aead_aes_gcm (self ):
7194- kernel_version = support ._get_kernel_version ("Linux" )
7195- if kernel_version is not None :
7196- if kernel_version >= (6 , 16 ) and kernel_version < (6 , 18 ):
7197- # See https://github.com/python/cpython/issues/139310.
7198- self .skipTest ("upstream Linux kernel issue" )
7199-
72007194 key = bytes .fromhex ('c939cc13397c1d37de6ae0e1cb7c423c' )
72017195 iv = bytes .fromhex ('b3d8cc017cbb89b39e0f67e2' )
72027196 plain = bytes .fromhex ('c3b3c41f113a31b73d9a5cd432103069' )
You can’t perform that action at this time.
0 commit comments