def METHOD_NAME(self):
    tmp = tempfile.NamedTemporaryFile(delete=False)
    for _ in range(10):
        tmp.write(b"0xdeadbeef\n")
    tmp.close()
    with self.assertRaises(RuntimeError):
        plugin_manager.load_library(tmp.name)
    os.remove(tmp.name)