class_docstr: Test functionality of generic converter of unknown configuration file type.
docstr: Check that conflict is reported even when more sneaky duplicate happens.
docstr_tok: ["Check","that","conflict","is","reported","even","when","more","sneaky","duplicate","happens","."]
code: def test_bad_parse_2(self, generic_converter):
      """Check that conflict is reported even when more sneaky duplicate happens."""
      BAD_UNKNOWN_SAMPLE_2 = os.path.join(
          TEST_DIR, "..", "bad_config2.txt"
      )
      with pytest.raises(ValueError) as exc:
          generic_converter.parse(BAD_UNKNOWN_SAMPLE_2)
      assert "lala/la" in str(exc.value)
  
file_path: orion/tests/unittests/core/io/test_converters.py
imports: import os
  import pytest
  from orion.core.io.convert import GenericConverter, JSONConverter, YAMLConverter, infer_converter_from_file_type
label_desc: Use image node_id 3 for calling the TestGenericConverter obj's underlying member method code with example usage: obj.test_bad_parse_2(generic_converter) without return types