8000 fix exception · pythonnet/pythonnet@7fb5915 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7fb5915

Browse files
committed
fix exception
1 parent 57d7779 commit 7fb5915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/embed_tests/Codecs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public void IterableDecoderTest()
290290
IEnumerable<string> stringEnumerable = null;
291291
Assert.DoesNotThrow(() => { codec.TryDecode(pyList, out stringEnumerable); });
292292

293-
Assert.Throws(typeof(PythonException), () => {
293+
Assert.Throws(typeof(InvalidCastException), () => {
294294
foreach (string item in stringEnumerable)
295295
{
296296
var x = item;

0 commit comments

Comments
 (0)
0