old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import os, sys
  sys.path.insert(0, "./tests")
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
  
  if __name__ == "__main__":
      from django.core.management import execute_from_command_line
      args = sys.argv
      args.insert(1, "test")
      args.insert(2, "pg_json_fields")
  
      execute_from_command_line(args)
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import os, sys
  sys.path.insert(0, "./tests")
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
  
  if __name__ == "__main__":
      from django.core.management import execute_from_command_line
      args = sys.argv
      args.insert(1, "test")
  
      if len(args) == 2:
          args.insert(2, "pg_json_fields")
  
      execute_from_command_line(args)
  
subject: Fix runtests.py