code: def test_data_dir():
      """
      Fixture returns test_data_dir.
      Use the highest fixture scope `session` to allow other fixtures with any other scope to use it.
      """
      # Test dir.
      test_data_dir_ = join(dirname(__file__), __TEST_DATA_SUBDIR)
      return test_data_dir_
  
imports: import logging
  import os.path
  import shutil
  import tarfile
  import tempfile
  import urllib.request
  from os import mkdir
  from os.path import dirname, exists, getsize, join
  from pathlib import Path
  from shutil import rmtree
  from typing import Tuple
  import pytest
  from tests.fixtures.tts import *
label_desc: Use image node_id 7 for calling a global function with example usage: test_data_dir() and returns: test_data_dir_