code: def test_path(self):
      # Test reading from `pathlib.Path` object
      from pathlib import Path
  
      with open(test1) as f1:
          data1, meta1 = loadarff(f1)
  
      data2, meta2 = loadarff(Path(test1))
  
      assert_(data1 == data2)
      assert_(repr(meta1) == repr(meta2))
  
imports: from __future__ import division, print_function, absolute_import
  import datetime
  import os
  import sys
  from os.path import join
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_equal, assert_
  import pytest
  from pytest import raises
  from scipy.io.arff.arffread import loadarff
  from scipy.io.arff.arffread import read_header, parse_type, ParseArffError
label_desc: Use image node_id 6 for calling the TestData obj's underlying member method code with example usage: obj.test_path() without return types