File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010import logging
1111import os
1212import pathlib
13- import platform
1413import shutil
1514import warnings
1615
1716import attr
18- import pytest
1917
2018from commoncode import fileutils
2119from commoncode .system import on_linux
@@ -76,13 +74,6 @@ def get_command(env_var=EXTRACTCODE_GUESTFISH_PATH_ENVVAR, command='guestfish'):
7674 return cmd_loc
7775
7876
79- is_ubuntu_2204 = False
80- if on_linux :
81- freedesktop_os_release = platform .freedesktop_os_release ()
82- is_ubuntu_2204 = freedesktop_os_release ['ID' ] == 'ubuntu' and freedesktop_os_release ['VERSION_ID' ] == '22.04'
83-
84-
85- @pytest .mark .xfail (is_ubuntu_2204 , reason = 'Kernel is not readable on Ubuntu 22.04' )
8677def check_linux_kernel_is_readable ():
8778 """
8879 Return True if the kernel executable file can be read. This is required by
You can’t perform that action at this time.
0 commit comments