← Back to team overview

sikuli-driver team mailing list archive

[Question #202336]: weird error after calling unittest.main()

 

New question #202336 on Sikuli:
https://answers.launchpad.net/sikuli/+question/202336

I set up a standard Sikuli script (not using the unit test part of the gui) by subclassing unittest.TestCase.  I have defined two test case methods and I call this by calling unittest.main().  Both of the test cases run without exceptions, but after the second one finishes running, I get the following error instead of terminating normally:

Traceback (most recent call last):
 File "/var/folders/y5/530trb_n7_1bgmtgn32183hm0000gn/T/sikuli-tmp7337792079999793769.py", line 57, in 
 unittest.main()
 File "/Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar/Lib/unittest.py", line 768, in __init__
 File "/Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar/Lib/unittest.py", line 806, in runTests
SystemExit: True

Any idea what causes this error?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.