code: def test_equal(self):
      opt = ParlaiParser(True, True).parse_kwargs(
          task="teacher1,teacher2",
          multitask_weights="1,1",
          model="fixed_response",
          fixed_response="None",
          datatype="train",
          batchsize=1,
      )
      agent = create_agent(opt)
      world = create_task(opt, agent)
  
      for _ in range(1000):
          world.parley()
  
      report = world.report()
      ratio = (
          report["teacher1/exs"].value()
          / report["teacher2/exs"].value()
      )
      assert ratio > 1.7
      assert ratio < 2.3
  
file_path: ParlAI/tests/test_multiworld.py
imports: import unittest
  from parlai.core.agents import create_agent
  from parlai.core.params import ParlaiParser
  from parlai.core.worlds import create_task
  from parlai.core.teachers import DialogTeacher, register_teacher
  import parlai.utils.testing
label_desc: Use image node_id 1 for calling the TestMultiworld obj's underlying member method code with example usage: obj.test_equal() without return types