import inspect
import os

# Get testdata absolute path.
abs_path = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
path = abs_path + "/testdata"


import inspect
import os

# Get testdata absolute path.
abs_path = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
#path = abs_path + "/testdata"
path = "./testdata"


Change the testdata path to relative path.
Change the testdata path to relative path.

  import inspect
  import os
  
  # Get testdata absolute path.
  abs_path = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
- path = abs_path + "/testdata"
+ #path = abs_path + "/testdata"
+ path = "./testdata"
  
  
Change the testdata path to relative path.
## Code Before:
import inspect
import os

# Get testdata absolute path.
abs_path = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
path = abs_path + "/testdata"


## Instruction:
Change the testdata path to relative path.
## Code After:
import inspect
import os

# Get testdata absolute path.
abs_path = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
#path = abs_path + "/testdata"
path = "./testdata"

