We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 817fe61 commit 6034640Copy full SHA for 6034640
src/tests/test_exceptions.py
@@ -270,12 +270,6 @@ def test_str_of_exception():
270
with pytest.raises(FormatException) as cm:
271
Convert.ToDateTime('this will fail')
272
273
- e = cm.value
274
- # fix for international installation
275
- msg = text_type(e).encode("utf8")
276
- fnd = text_type('System.Convert.ToDateTime').encode("utf8")
277
- assert msg.find(fnd) > -1, msg
278
-
279
280
def test_python_compat_of_managed_exceptions():
281
"""Test managed exceptions compatible with Python's implementation"""
0 commit comments