Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e1652b

Browse files
committed
Ensure that the RawProxyEncoder is removed again
1 parent 26d1039 commit 2e1652b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_conversion.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55

66
import System
7-
from Python.Test import ConversionTest, MethodResolutionInt, UnicodeString
7+
from Python.Test import ConversionTest, MethodResolutionInt, UnicodeString, CodecResetter
88
from Python.Runtime import PyObjectConversions
99
from Python.Runtime.Codecs import RawProxyEncoder
1010

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

662+
CodecResetter.Reset()
663+
662664
def test_int_param_resolution_required():
663665
"""Test resolution of `int` parameters when resolution is needed"""
664666

0 commit comments

Comments
 (0)