code: def test_str_rjust_deprecated() -> None:
      s = pl.Series(["a", "bc", "def"])
  
      with pytest.deprecated_call():
          result = s.str.rjust(5)
  
      expected = pl.Series(["    a", "   bc", "  def"])
      assert_series_equal(result, expected)
  
file_path: polars/py-polars/tests/unit/namespaces/string/test_pad.py
imports: from __future__ import annotations
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_str_rjust_deprecated() without return types