code: def test_convert(old_style, new_style):
      assert convert(old_style) == new_style
  
file_path: haystack/test/utils/test_filters.py
imports: import pytest
  import pandas
  from haystack import Document
  from haystack.errors import FilterError
  from haystack.utils.filters import convert, document_matches_filter
label_desc: Use image node_id 3 for calling a global function with example usage: test_convert(old_style, new_style) without return types