code: def test_abs_path(self):
      with pytest.raises(ValueError):
          resolve_relative_path("/tmp")
  
imports: from pathlib import PurePath
  import pytest
  from dstack._internal.utils.path import resolve_relative_path
label_desc: Use image node_id 1 for calling the TestResolveRelativePath obj's underlying member method code with example usage: obj.test_abs_path() without return types