old_contents: #!/usr/bin/env python
  
  import platform
  import sys
  
  import pytest
  
  ARGS = [
      #'--pdb',
      #'--exitfirst',
  ]
  
  if platform.system() == 'Windows':
      if 'idlelib' in sys.modules:
          ARGS.extend(['--capture=sys', '--color=no'])
  
  sys.exit(pytest.main(ARGS + sys.argv[1:]))
  
new_contents: #!/usr/bin/env python3
  
  import platform
  import sys
  
  import pytest
  
  ARGS = [
      #'--pdb',
      #'--exitfirst',
  ]
  
  if platform.system() == 'Windows':
      if 'idlelib' in sys.modules:
          ARGS.extend(['--capture=sys', '--color=no'])
  
  sys.exit(pytest.main(ARGS + sys.argv[1:]))
  
subject: make test runner python3 only