Bug report
Bug description:
On Windows, test_import.ImportTests.test_dll_dependency_import selects the sqlite DLL using:
"sqlite3{}.dll".format("_d" if "_d" in pydname else ""))
Where pydname is the full path to the module. If a intermediate directory contains _d, such as tmp_d... or jon_doe the test incorrectly checks for a debug version of the extension, sqlite3_d.dll instead of sqlite3.dll. Only the filename should be searched for _d.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
Bug report
Bug description:
On Windows,
test_import.ImportTests.test_dll_dependency_importselects the sqlite DLL using:Where
pydnameis the full path to the module. If a intermediate directory contains_d, such astmp_d...orjon_doethe test incorrectly checks for a debug version of the extension,sqlite3_d.dllinstead ofsqlite3.dll. Only the filename should be searched for_d.CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs