code: def test_unclosed_pattern(self):
      with pytest.raises(ValueError):
          get_interpolator().interpolate("${{ secrets.password }")
  
file_path: dstack/src/tests/_internal/utils/test_interpolator.py
imports: import pytest
  from dstack._internal.utils.interpolator import VariablesInterpolator
label_desc: Use image node_id 8 for calling the TestVariablesInterpolator obj's underlying member method code with example usage: obj.test_unclosed_pattern() without return types