diff --git a/tests/nbackend/kernelcreation/test_typification.py b/tests/nbackend/kernelcreation/test_typification.py index fc139c71450a14141b9d369a591dc033795fe48f..ef746c614901a2a15a3b63e117d0c7cec61b9676 100644 --- a/tests/nbackend/kernelcreation/test_typification.py +++ b/tests/nbackend/kernelcreation/test_typification.py @@ -38,6 +38,7 @@ def test_typify_simple(): assert isinstance(fasm, PsDeclaration) def check(expr): + assert expr.dtype == ctx.default_dtype match expr: case PsConstantExpr(cs): assert cs.value == 2 @@ -86,6 +87,7 @@ def test_contextual_typing(): expr = typify(expr) def check(expr): + assert expr.dtype == ctx.default_dtype match expr: case PsConstantExpr(cs): assert cs.value in (2, 3, -4)