diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-12 23:44:59 +0200 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-12 23:44:59 +0200 |
| commit | bb54b33cec2d83e8b5f6100361ff57cb22b5105a (patch) | |
| tree | bf1a20cfe3ea928788c6c5643963c083a5bf20bd /Lib/test/test_unicode.py | |
| parent | eafae028e0f7704ae64b3f51cea636c17587965e (diff) | |
| parent | ee78a2b51cd9ede91bb780b71444119e1da19e4e (diff) | |
| download | cpython-git-bb54b33cec2d83e8b5f6100361ff57cb22b5105a.tar.gz | |
Merge
Diffstat (limited to 'Lib/test/test_unicode.py')
| -rw-r--r-- | Lib/test/test_unicode.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 2eadd4df07..4024be7e6f 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -1422,14 +1422,6 @@ class UnicodeTest(string_tests.CommonTest, self.assertRaises(TypeError, str, b"hello", "test.unicode2") self.assertRaises(TypeError, "hello".encode, "test.unicode1") self.assertRaises(TypeError, "hello".encode, "test.unicode2") - # executes PyUnicode_Encode() - import imp - self.assertRaises( - ImportError, - imp.find_module, - "non-existing module", - ["non-existing dir"] - ) # Error handling (wrong arguments) self.assertRaises(TypeError, "hello".encode, 42, 42, 42) |
