From 7368969c0104f987d0b01987dcf8a89ff2f38208 2013-08-07 16:13:49 From: Jonathan Frederic Date: 2013-08-07 16:13:49 Subject: [PATCH] Extracted output are now test against byte arrays instead of strings --- diff --git a/IPython/nbconvert/transformers/tests/test_extractoutput.py b/IPython/nbconvert/transformers/tests/test_extractoutput.py index 0e47780..58dcf27 100644 --- a/IPython/nbconvert/transformers/tests/test_extractoutput.py +++ b/IPython/nbconvert/transformers/tests/test_extractoutput.py @@ -55,8 +55,8 @@ class TestExtractOutput(TransformerTestsBase): # Verify text output assert text_filename in res['outputs'] - self.assertEqual(res['outputs'][text_filename], 'b') + self.assertEqual(res['outputs'][text_filename], b'b') # Verify png output assert png_filename in res['outputs'] - self.assertEqual(res['outputs'][png_filename], 'g') + self.assertEqual(res['outputs'][png_filename], b'g')