new_contents: """Test fixtures."""
  
  import os
  import shutil
  import tempfile
  
  import pytest
  
  _HERE = os.path.dirname(__file__)
  TEST_SAMPLE_DATASET = os.path.join(_HERE, "data", "sample_data")
  
  
  @pytest.fixture
  def tmp_dir_fixture(request):
      d = tempfile.mkdtemp()
  
      @request.addfinalizer
      def teardown():
          shutil.rmtree(d)
      return d
  
subject: Make test fixtures reusable