##// END OF EJS Templates
fix base64 code in nbformat.v2...
fix base64 code in nbformat.v2 base64 encoding functions were called, but had no effect, because the notebook already has everything as b64-encoded bytestrings, which are valid ascii literals on Python 2. However, the encode/decode logic is actually triggered on Python 3, revealing its errors. This fixes the base64 functions that had no effect to have their intended effect, but does not use them. Rather, it is assumed that bytes objects are already b64-encoded (and thus ascii-safe), which assumption was already made in Python 2.

File last commit:

r4574:a8c54759
r5175:155b20cc
Show More
test_imports.py
13 lines | 285 B | text/x-python | PythonLexer
Brian Granger
background_jobs.py => lib/backgroundjob.py and imports updated.
r2011 # encoding: utf-8
def test_import_backgroundjobs():
from IPython.lib import backgroundjobs
Brian Granger
deep_reload.py =? lib/deepreload.py and imports updated.
r2016 def test_import_deepreload():
from IPython.lib import deepreload
Brian Granger
demo.py => lib/demo.py and imports updated.
r2017 def test_import_demo():
Brian Granger
irunner.py => lib/irunner.py and imports updated.
r2035 from IPython.lib import demo
def test_import_irunner():
from IPython.lib import demo