old_contents: """Python script to run all tests"""
  import pytest
  
  if __name__ == '__main__':
      pytest.main()
  
new_contents: """Python script to run all tests"""
  import sys
  
  import pytest
  
  
  if __name__ == '__main__':
      sys.exit(pytest.main())
  
subject: Allow Jenkins to actually report build failures