We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3433201 commit 95cc52fCopy full SHA for 95cc52f
1 file changed
src/embed_tests/pyinitialize.cs
@@ -158,9 +158,10 @@ public static void TestRunExitFuncs()
158
catch (PythonException e)
159
{
160
string msg = e.ToString();
161
+ bool isImportError = e.Is(Exceptions.ImportError);
162
Runtime.Runtime.Shutdown();
163
- if (e.Is(Exceptions.ImportError))
164
+ if (isImportError)
165
166
Assert.Ignore("no atexit module");
167
}
0 commit comments