code: def test_get_filepaths(self):
      expected = sorted(
          os.path.join(TESTS_DIR, fname)
          for fname in os.listdir(TESTS_DIR)
          if os.path.isfile(os.path.join(TESTS_DIR, fname))
      )
      observed = sorted(
          io.get_filepaths(
              TESTS_DIR, ignore_invisible=False, recursive=False
          )
      )
      assert observed == expected
  
imports: import os
  import tarfile
  import zipfile
  import numpy
  import pytest
  from scipy import sparse
  from textacy import io, utils
label_desc: Use image node_id 1 for calling the TestIOUtils obj's underlying member method code with example usage: obj.test_get_filepaths() without return types