def METHOD_NAME(self):
    self.assertPyxformXform(
        md="""
        | survey  |                 |          |          |
        |         | type            | name     | label    |
        |         | select_one list | S1       | s1       |
        | choices |                 |          |          |
        |         | list name       | name     | label    |
        |         | list            | a        | option a |
        |         | list            | b        | option b |
        |         | list            | b        | option c |
        """,
        errored=True,
        error__contains=[
            "The name column for the 'list' choice list contains these duplicates: 'b'"
        ],  # noqa
    )