8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f2ad7 commit 6f10641Copy full SHA for 6f10641
src/embed_tests/pyimport.cs
@@ -34,7 +34,9 @@ public void SetUp()
34
TestContext.Out.WriteLine(testPath);
35
36
IntPtr str = Runtime.Runtime.PyString_FromString(testPath);
37
+ Assert.IsFalse(str == IntPtr.Zero);
38
BorrowedReference path = Runtime.Runtime.PySys_GetObject("path");
39
+ Assert.IsFalse(path.IsNull);
40
Runtime.Runtime.PyList_Append(path, str);
41
Runtime.Runtime.XDecref(str);
42
}
0 commit comments