code: def test_nearest_505_str():
      """wcwidth._wcmatch_version('5.0.5') returns nearest '5.0.0'. (str)"""
      # given
      given, expected = "5.0.5", "5.0.0"
  
      # exercise
      result = wcwidth._wcmatch_version(given)
  
      # verify.
      assert result == expected
  
file_path: catboost/contrib/python/wcwidth/py3/tests/test_ucslevel.py
imports: import warnings
  import pytest
  import wcwidth
label_desc: Use image node_id 4 for calling a global function with example usage: test_nearest_505_str() without return types