diff --git a/tests/interactive/test_app.py b/tests/interactive/test_app.py index 3e116aed3a..99207d2e7c 100644 --- a/tests/interactive/test_app.py +++ b/tests/interactive/test_app.py @@ -53,13 +53,13 @@ async def test_inputs(): await pilot.pause() assert ( app.output_text_area.text - == ":1:5\ndkjfd\n ^\n Operation builtin.unregistered does not have a custom format.\n" + == ":1:5\ndkjfd\n ^\n unregistered operation dkjfd!\n" ) assert isinstance(app.current_module, ParseError) assert ( str(app.current_module) - == ":1:5\ndkjfd\n ^\n Operation builtin.unregistered does not have a custom format.\n" + == ":1:5\ndkjfd\n ^\n unregistered operation dkjfd!\n" ) # Test corect input diff --git a/xdsl/interactive/passes.py b/xdsl/interactive/passes.py index 3e3387d540..2e56c1f987 100644 --- a/xdsl/interactive/passes.py +++ b/xdsl/interactive/passes.py @@ -26,7 +26,7 @@ def get_new_registered_context( """ Generates a new MLContext, registers it and returns it. """ - ctx = MLContext(True) + ctx = MLContext() for dialect_name, dialect_factory in all_dialects: ctx.register_dialect(dialect_name, dialect_factory) return ctx