code: def test_parse_locale_bad_format(self):
      with self.assertRaises(ValueError):
          Locale.parse("en-GB", "_")
  
file_path: mkdocs/mkdocs/tests/utils/babel_stub_tests.py
imports: import unittest
  from mkdocs.utils.babel_stub import Locale, UnknownLocaleError
label_desc: Use image node_id 8 for calling the BabelStubTests obj's underlying member method code with example usage: obj.test_parse_locale_bad_format() without return types