| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 817fe61 commit 6034640
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -270,12 +270,6 @@ def test_str_of_exception(): | |||
| 270 | 270 | with pytest.raises(FormatException) as cm: | |
| 271 | 271 | Convert.ToDateTime('this will fail') | |
| 272 | 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 | 273 | ||
| 280 | 274 | def test_python_compat_of_managed_exceptions(): | |
| 281 | 275 | """Test managed exceptions compatible with Python's implementation""" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments