Skip to content

Commit d494ccc

Browse files
committed
Make Noopformatter fail again on Deserialize
1 parent 19e16d8 commit d494ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/StateSerialization/NoopFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Python.Runtime;
66

77
public class NoopFormatter : IFormatter {
8-
public object Deserialize(Stream s) => null; // throw new NotImplementedException();
8+
public object Deserialize(Stream s) => throw new NotImplementedException();
99
public void Serialize(Stream s, object o) {}
1010

1111
public SerializationBinder? Binder { get; set; }

0 commit comments

Comments
 (0)