old_contents: try:
      from setuptools import setup
      from setuptools import find_packages
      packages = find_packages()
  except ImportError:
      from distutils.core import setup
      import os
      packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
  
  if bytes is str:
      raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
  
  setup(
      name='archinfo',
      version='8.19.10.30',
      python_requires='>=3.5',
      packages=packages,
      test_suite='nose.collector',
      tests_require=['nose'],
  )
  
new_contents: try:
      from setuptools import setup
      from setuptools import find_packages
      packages = find_packages()
  except ImportError:
      from distutils.core import setup
      import os
      packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
  
  if bytes is str:
      raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
  
  setup(
      name='archinfo',
      version='8.19.10.30',
      python_requires='>=3.5',
      packages=packages,
  )
  
subject: Revert "Define how to run tests in `setup.py`"