code: def test_intra_day_conversion_factors(freq1, freq2, expected):
      assert (
          period_asfreq(
              1, get_freq_code(freq1), get_freq_code(freq2), False
          )
          == expected
      )
  
file_path: pandas/pandas/tests/tslibs/test_period.py
imports: import numpy
  import pytest
  from pandas._libs.tslibs import iNaT, to_offset
  from pandas._libs.tslibs.period import extract_ordinals, get_period_field_arr, period_asfreq, period_ordinal
  import pandas._testing
label_desc: Use image node_id 2 for calling a global function with example usage: test_intra_day_conversion_factors(freq1, freq2, expected) without return types