Skip to content

Commit

Permalink
Change PY_VERSION_HEX for use PyConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
MinyazevR authored and usiems committed Aug 15, 2024
1 parent 9b42537 commit 093941f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PythonQtTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void PythonQtMemoryTests::testSeveralCleanup() {
}

void PythonQtMemoryTests::testInitWithPreconfig() {
#if PY_VERSION_HEX >= 0x030800
#if PY_VERSION_HEX >= 0x03080000
PyConfig config;
PyConfig_InitPythonConfig(&config);
Py_InitializeFromConfig(&config);
Expand Down

0 comments on commit 093941f

Please sign in to comment.