code: def test_from_dict_old_values_are_popped():
      config = Configuration()
      config.add_option(
          "option1",
          option_type=str,
          default="hello",
      )
  
      config.add_option(
          "option2",
          option_type=str,
          default="hello",
      )
  
      default = config.to_dict()
  
      # Override everything
      overrides = dict(option1="123", option2="123")
      config.from_dict(overrides)
      assert config.to_dict() == overrides
  
      #
      overrides.pop("option2")
      config.from_dict(overrides)
  
      # Get the expected value
      default.update(overrides)
  
      assert config.to_dict() == default
  
imports: import argparse
  import logging
  import os
  import pytest
  import yaml
  from orion.core.io.config import Configuration, ConfigurationError
label_desc: Use image node_id 47 for calling a global function with example usage: test_from_dict_old_values_are_popped() without return types