code: def test_tofile_roundtrip(self):
      with temppath() as path:
          self.tgt.tofile(path, sep=" ")
          res = np.fromfile(path, dtype=np.longdouble, sep=" ")
      assert_equal(res, self.tgt)
  
imports: import warnings
  import platform
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_raises, assert_warns, assert_array_equal, temppath, IS_MUSL
  from __tests__.numpy.core.tests._locales import CommaDecimalPointLocale
label_desc: Use image node_id 6 for calling the TestFileBased obj's underlying member method code with example usage: obj.test_tofile_roundtrip() without return types