Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Ensure that the RawProxyEncoder is removed again
  • Loading branch information
filmor committed May 26, 2022
commit 2e1652b8f8878d9db3f1676e3f3a97674fcc3ecb
4 changes: 3 additions & 1 deletion tests/test_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest

import System
from Python.Test import ConversionTest, MethodResolutionInt, UnicodeString
from Python.Test import ConversionTest, MethodResolutionInt, UnicodeString, CodecResetter
from Python.Runtime import PyObjectConversions
from Python.Runtime.Codecs import RawProxyEncoder

Expand Down Expand Up @@ -659,6 +659,8 @@ def CanEncode(self, clr_type):
l.Add(42)
assert ob.ListField.Count == 1

CodecResetter.Reset()

def test_int_param_resolution_required():
"""Test resolution of `int` parameters when resolution is needed"""

Expand Down