old_contents: import textwrap
  from readthedocs.config.utils import yaml_load_safely
  
  
  def test_yaml_load_safely():
      expected = {
          'int': 3,
          'float': 3.0,
          'unknown': None,
      }
  
      content = textwrap.dedent('''
      int: 3
      float: !!float 3
      unknown: !!python/name:unknown_funtion
      ''')
      data = yaml_load_safely(content)
      assert data == expected
  
new_contents: import textwrap
  from readthedocs.config.utils import yaml_load_safely
  
  
  def test_yaml_load_safely():
      expected = {
          'int': 3,
          'float': 3.0,
          'unknown': None,
      }
  
      content = textwrap.dedent('''
      int: 3
      float: !!float 3
      unknown: !!python/name:unknown_funtion
      ''')
      data = yaml_load_safely(content)
      assert data == expected
      assert type(data['int']) == int
      assert type(data['float']) == float
  
subject: Check types