Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0b74eb

Browse files
committed
Assert nativeThreadID value
1 parent 8a225aa commit f0b74eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/embed_tests/TestInterrupt.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ import time
4747

4848
Thread.Sleep(200);
4949

50+
Assert.AreNotEqual(uint.MinValue, nativeThreadID);
51+
5052
using (Py.GIL())
5153
{
5254
int interruptReturnValue = PythonEngine.Interrupt(nativeThreadID);

0 commit comments

Comments
 (0)