Skip to content

Commit c3486f1

Browse files
authored
Update TestPythonException.cs
1 parent 067db25 commit c3486f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/embed_tests/TestPythonException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void TestPythonErrorTypeName()
5151
}
5252
catch (PythonException ex)
5353
{
54-
Assert.AreEqual(ex.PythonTypeName, "ModuleNotFoundError");
54+
Assert.That(ex.PythonTypeName, Is.EqualTo("ModuleNotFoundError").Or.EqualTo("ImportError"));
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)