Show More
@@ -65,7 +65,7 b' def convert(nb, to_version):' | |||
|
65 | 65 | raise Exception("Cannot convert notebook from v%d to v%d. Operation" \ |
|
66 | 66 | "failed silently." % (major, step_version)) |
|
67 | 67 | |
|
68 |
# Recur |
|
|
68 | # Recursively convert until target version is reached. | |
|
69 | 69 | return convert(converted, to_version) |
|
70 | 70 | else: |
|
71 | 71 | raise Exception("Cannot convert notebook to v%d because that " \ |
@@ -51,8 +51,8 b' class TestConvert(TestsBase):' | |||
|
51 | 51 | |
|
52 | 52 | |
|
53 | 53 | def test_open_current(self): |
|
54 |
"""Can an old notebook be opened and converted to the current verion |
|
|
55 | remembering the original version of the notebook?""" | |
|
54 | """Can an old notebook be opened and converted to the current version | |
|
55 | while remembering the original version of the notebook?""" | |
|
56 | 56 | |
|
57 | 57 | # Open a version 2 notebook and attempt to upgrade it to the current version |
|
58 | 58 | # while remembering it's version information. |
General Comments 0
You need to be logged in to leave comments.
Login now