mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
27041e4351
commit
3792654953
@ -54,8 +54,7 @@ class Test(BaseTest):
|
||||
import warnings
|
||||
warnings.filterwarnings('ignore', message="'cgi' is deprecated and slated for removal in Python 3.13")
|
||||
|
||||
if is_ci:
|
||||
SW = os.environ['SW']
|
||||
if is_ci and (SW := os.environ.get('SW')):
|
||||
if ismacos:
|
||||
import ctypes
|
||||
sys.libxml2_dylib = ctypes.CDLL(os.path.join(SW, 'lib', 'libxml2.dylib'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user