File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 33
33
try :
34
34
__wraparmor__ (main )
35
35
except Exception as e :
36
- print (e )
36
+ print ('__wraparmor__ can not be called out of decorator' )
37
37
38
38
# Check filename in trackback
39
39
queens .test_exception ()
Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ check_file_content $PROPATH/dist/queens.py '__pyarmor__(__name__'
318
318
(cd $PROPATH /dist; $PYTHON hello.py > result.log 2>&1 )
319
319
check_file_content $PROPATH /dist/result.log ' Found 92 solutions'
320
320
check_file_content $PROPATH /dist/result.log ' index out of range'
321
- check_file_content $PROPATH /dist/result.log ' error return without exception set '
321
+ check_file_content $PROPATH /dist/result.log ' __wraparmor__ can not be called out of decorator '
322
322
check_file_content $PROPATH /dist/result.log ' The value of __file__ is OK'
323
323
check_file_content $PROPATH /dist/result.log ' <frozen \[queens\]>'
324
324
You can’t perform that action at this time.
0 commit comments