| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,9 @@ public void SetUp() | |||
| 34 | 34 | TestContext.Out.WriteLine(testPath); | |
| 35 | 35 | ||
| 36 | 36 | IntPtr str = Runtime.Runtime.PyString_FromString(testPath); | |
| 37 | + Assert.IsFalse(str == IntPtr.Zero); | ||
| 37 | 38 | BorrowedReference path = Runtime.Runtime.PySys_GetObject("path"); | |
| 39 | + Assert.IsFalse(path.IsNull); | ||
| 38 | 40 | Runtime.Runtime.PyList_Append(path, str); | |
| 39 | 41 | Runtime.Runtime.XDecref(str); | |
| 40 | 42 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments