old_contents: # -*- coding: utf-8 -*-
  
  import codecs
  import pytest
  
  from poyo import parse_string
  
  
  @pytest.fixture
  def string_data():
      with codecs.open('tests/foobar.yml', encoding='utf-8') as ymlfile:
          return ymlfile.read()
  
  
  def test_parse_string(string_data):
      expected = {
          u'default_context': {
              u'greeting': u'こんにちは',
              u'email': u'raphael@hackebrot.de',
              u'docs': True,
              u'gui': False,
              123: 456.789,
              u'someint': 1000000,
              u'foo': u'hallo #welt',
              u'trueish': u'Falseeeeeee',
          },
          u'zZz': True,
          u'NullValue': None,
          u'Hello World': {
              None: u'This is madness',
              u'gh': u'https://github.com/{0}.git',
          },
          u'Yay #python': u'Cool!'
      }
  
      assert parse_string(string_data) == expected
  
new_contents: # -*- coding: utf-8 -*-
  
  import codecs
  import pytest
  
  from poyo import parse_string
  
  
  @pytest.fixture
  def string_data():
      with codecs.open('tests/foobar.yml', encoding='utf-8') as ymlfile:
          return ymlfile.read()
  
  
  def test_parse_string(string_data):
      expected = {
          u'default_context': {
              u'greeting': u'こんにちは',
              u'email': u'raphael@hackebrot.de',
              u'docs': True,
              u'gui': False,
              123: 456.789,
              u'someint': 1000000,
              u'foo': u'hallo #welt',
              u'trueish': u'Falseeeeeee',
              u'doc_tools': [u'mkdocs', u'sphinx', None],
          },
          u'zZz': True,
          u'NullValue': None,
          u'Hello World': {
              None: u'This is madness',
              u'gh': u'https://github.com/{0}.git',
          },
          u'Yay #python': u'Cool!'
      }
  
      assert parse_string(string_data) == expected
  
subject: Add list to expectation in test