def test_errors_with_include_modules(runner: CliRunner):
    result = runner.invoke(cli, ['-m', 'module_not_ok', '--include-modules', '(module_not_ok$ | a)'])
    assert (result.exit_code == 1)
    assert (result.output == "ERROR: 'module_not_ok.a.b:U' has slots but superclass does not.\nOh no, found some problems!\nScanned 3 module(s), 2 class(es).\n")
def test_errors_with_include_modules(runner: CliRunner):
    result = runner.invoke(cli, ['-m', 'module_not_ok', '--include-modules', '(module_not_ok$ | a)'])
    assert (result.exit_code == 1)
    assert (result.output == "ERROR: 'module_not_ok.a.b:U' has slots but superclass does not.\nOh no, found some problems!\nScanned 3 module(s), 2 class(es).\n")