Files
QuanTAlib/python/tests/__pycache__/test_smoke.cpython-313-pytest-9.0.2.pyc
T

31 lines
3.7 KiB
Plaintext
Raw Normal View History

2026-02-28 14:14:35 -08:00
ó
¼M£i<ãóbSSKJr SSKrSSKJs Jr SSKJ r SSK
r
SSK J r SSjr
SSjrg)é)Ú annotationsN)ÚPath)Únative_library_pathcó [5n[U[5o(Gd+SS[R"5;d[
R "[5(a[
R"[5OSS[R"5;d[
R "U5(a[
R"U5OSS[R"5;d[
R "[5(a[
R"[5OS[
R"U5S.-n[[
R"U55eSng)Nz5assert %(py4)s
{%(py4)s = %(py0)s(%(py1)s, %(py2)s)
isinstanceÚpathr)Úpy0Úpy1Úpy2Úpy4)
rrrÚ @py_builtinsÚlocalsÚ
@pytest_arÚ_should_repr_global_nameÚ _safereprÚAssertionErrorÚ_format_explanation)rÚ @py_assert3Ú @py_format5s Ú.c:\github\quantalib\python\tests\test_smoke.pyÚ&test_native_library_path_is_resolvabler
Ü Ó €DÜ dœDÓ  !×!×!×!Œ:×!Œ:×!×!×!×!×!d×!×!×!d×!×!×!×!×!œD×!œD× !×!×có^SSKJn [[5RS- S- mUR USU4Sj5 [ R"[5nUR5 SSS5 [WR5R5nSoDU;oU([R"SU4S XC45[R"U5S
[ R""5;d[R$"U5(a[R"U5OS
S .-nS S
U0-n['[R("U55eS=pESoDU;oU([R"SU4S XC45[R"U5S
[ R""5;d[R$"U5(a[R"U5OS
S .-nS S
U0-n['[R("U55eS=pEg!,(df  GN=f)z9Verify a clear OSError when the native binary is missing.r nonexistentzquantalib_native.dllrcó>T$))Úfakes€rÚ<lambda>ÚOtest_loader_fails_with_actionable_message_when_binary_missing.<locals>.<lambda>sø€¹trznative library)Úin)z%(py1)s in %(py3)sÚmsg)r
Úpy3zassert %(py5)sÚpy5Úexpected)Úquantalib._loaderÚ_loaderrÚ__file__ÚparentÚsetattrÚpytestÚraisesÚOSErrorÚload_native_libraryÚstrÚvalueÚlowerrÚ_call_reprcomparerr
rrrr) Ú monkeypatchÚloaderÚexcr!Ú @py_assert0Ú @py_assert2Ú @py_format4Ú @py_format6rs @rÚ=test_loader_fails_with_actionable_message_when_binary_missingr9s/ø€õ >× Ñ  =Ñ 0Ð3IÑ I€DØ×јР5´|ÔŠ”wÔ  ×
ô ˆci‰i.×
Ñ
Ó
€CØ Ð"˜ "×"×"× ×"× ×"×"×"×"×"˜s×"×"×"˜s×"×"×"×"×"× Ð˜Ñ ×××Òˆ:××Ôˆ:×××××Ô˜×××ј××××××Ô÷