diff --git a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py index e80cc9d..96f981d 100644 --- a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py +++ b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py @@ -63,9 +63,7 @@ except: print "Unable to create channel:", sys.exc_info()[0] ret = 'Unable to create channel - ' + traceback.format_exc() success = False - set_return(10) - exit() - + raise Exception(20) #remove limits