old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import sys
  import os
  
  from robot import run_cli
  
  run_cli(sys.argv[1:] + [os.path.dirname(__file__)])
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import sys
  import os
  
  from pathlib import Path
  
  from robot import run_cli
  
  
  if __name__ == '__main__':
      curdir = Path(__file__).parent
      srcdir = curdir / '..' / '..' / 'src'
      run_cli(sys.argv[1:] + ['-P', srcdir.resolve(), curdir])
  
subject: Fix test runner for acceptance tests