def test_abort_message_only_printed_once():
 with quiet():
  result = local('fab -f tests/support/aborts.py kaboom', capture=True)
 eq_(result.stderr, 'Fatal error: It burns!\n\nAborting.')

def test_abort_message_only_printed_once ( ) : with quiet ( ) : result = local ( 'fab -f tests/support/aborts.py kaboom' , capture = True ) eq_ ( result . stderr , 'Fatal error: It burns!\n\nAborting.' )
abort()s systemexit should not cause a reprint of the error message .