def test_ambiguous_import(runner: CliRunner):
    result = runner.invoke(cli, [str((EXAMPLES_DIR / 'other/module_misc/a/b/c.py'))], catch_exceptions=False)
    assert (result.exit_code == 1)
    assert (result.output == "Cannot check due to import ambiguity.\nThe given files do not correspond with what would be imported:\n\n  'import module_misc.a.b.c' would load from:\n  {}\n  instead of:\n  {}\n\nYou may need to define $PYTHONPATH or run as 'python -m slotscheck'\nto ensure the correct files can be imported.\n\nSee slotscheck.rtfd.io/en/latest/discovery.html\nfor more information on why this happens and how to resolve it.\n".format(pkgutil.get_loader('module_misc.a.b.c').path, (EXAMPLES_DIR / 'other/module_misc/a/b/c.py')))
def test_ambiguous_import(runner: CliRunner):
    result = runner.invoke(cli, [str((EXAMPLES_DIR / 'other/module_misc/a/b/c.py'))], catch_exceptions=False)
    assert (result.exit_code == 1)
    assert (result.output == "Cannot check due to import ambiguity.\nThe given files do not correspond with what would be imported:\n\n  'import module_misc.a.b.c' would load from:\n  {}\n  instead of:\n  {}\n\nYou may need to define $PYTHONPATH or run as 'python -m slotscheck'\nto ensure the correct files can be imported.\n\nSee slotscheck.rtfd.io/en/latest/discovery.html\nfor more information on why this happens and how to resolve it.\n".format(pkgutil.get_loader('module_misc.a.b.c').path, (EXAMPLES_DIR / 'other/module_misc/a/b/c.py')))