Changeset 70660 in vbox for trunk/src/VBox/ValidationKit/tests/api
- Timestamp:
- Jan 21, 2018 4:18:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/api/tdPython1.py
r69111 r70660 36 36 import time 37 37 import threading 38 import types39 38 40 39 # Only the main script needs to modify the path. … … 107 106 reporter.errorXcpt(); 108 107 break; 109 if not isinstance(rc, types.IntType):108 if not isinstance(rc, int): 110 109 reporter.error('waitForEvents returns non-integer type'); 111 110 break; … … 204 203 205 204 # Check the return code and elapsed time. 206 if not isinstance(rc, types.IntType):205 if not isinstance(rc, int): 207 206 reporter.error('waitForEvents returns non-integer type after %u ms, expected 1' % (msElapsed,)); 208 207 elif rc != 1:
Note:
See TracChangeset
for help on using the changeset viewer.