code: def up(self) -> None:
      raise RuntimeError("Error in up")
  
imports: from collections.abc import Iterator
  from typing import Optional
  import pytest
  from mongodb_migration.database_migrations import DatabaseMigration, _clean_maintenance_database
  from mongodb_migration.migration import IrreversibleMigrationError, Migration
  from mongodb_migration.plan import Plan, SavedMigrationsError
  from mongodb_migration.resources import MigrationsMongoResource
label_desc: Use image node_id 1 for calling the MigrationErrorIrreversible obj's underlying member method code with example usage: obj.up() without return types