old_contents: # pylint: disable=C0111
  import pytest
  import os
  import tarfile
  
  BASEDIR = os.path.dirname(__file__)
  
  
  @pytest.fixture(autouse=True)
  def set_up(tmpdir):
  #	print BASEDIR
  	tmpdir.chdir()
  	tar = tarfile.open(os.path.join(BASEDIR, "MockRepos.tar.gz"))
  	tar.extractall()
  	tar.close()
  	os.chdir('MockRepos')
  	print('In directory ' + os.getcwd())
  	# does not need teardown, since tmpdir directories get autodeleted
  
new_contents: # pylint: disable=C0111
  import pytest
  import os
  import tarfile
  
  BASEDIR = os.path.dirname(__file__)
  
  
  @pytest.fixture(autouse=False)
  def set_up(tmpdir):
  #	print BASEDIR
  	tmpdir.chdir()
  	tar = tarfile.open(os.path.join(BASEDIR, "MockRepos.tar.gz"))
  	tar.extractall()
  	tar.close()
  	os.chdir('MockRepos')
  	print('In directory ' + os.getcwd())
  	# does not need teardown, since tmpdir directories get autodeleted
  
subject: Disable autouse for set_up so that help tests don't generate unnecessary files.