diff options
| author | Benjamin Peterson <benjamin@python.org> | 2009-01-18 21:11:38 (GMT) | 
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2009-01-18 21:11:38 (GMT) | 
| commit | 910f216260b812cff42ab60ed7413a7df1f2a72f (patch) | |
| tree | 7a6fa6de95e4d58a98d28e69df915a618877bfe9 /Lib/test/test_codeccallbacks.py | |
| parent | 438195fc113bf50a01343f5d1fba52448f696647 (diff) | |
| download | cpython-910f216260b812cff42ab60ed7413a7df1f2a72f.zip cpython-910f216260b812cff42ab60ed7413a7df1f2a72f.tar.gz cpython-910f216260b812cff42ab60ed7413a7df1f2a72f.tar.bz2  | |
fix test that wasn't working as expected #4990
Diffstat (limited to 'Lib/test/test_codeccallbacks.py')
| -rw-r--r-- | Lib/test/test_codeccallbacks.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_codeccallbacks.py b/Lib/test/test_codeccallbacks.py index 656551d..db0bc96 100644 --- a/Lib/test/test_codeccallbacks.py +++ b/Lib/test/test_codeccallbacks.py @@ -579,7 +579,7 @@ class CodecCallbackTest(unittest.TestCase):          encs = ("ascii", "latin-1", "iso-8859-1", "iso-8859-15")          for res in results: -            codecs.register_error("test.badhandler", lambda: res) +            codecs.register_error("test.badhandler", lambda x: res)              for enc in encs:                  self.assertRaises(                      TypeError,  | 
