Show More
@@ -31,7 +31,7 b' ipy_cmd = get_ipython_cmd(as_string=True) + " "' | |||
|
31 | 31 | |
|
32 | 32 | |
|
33 | 33 | class TestsBase(object): |
|
34 |
"""Base tests class. Contains useful |
|
|
34 | """Base tests class. Contains useful fuzzy comparison and nbconvert | |
|
35 | 35 | functions.""" |
|
36 | 36 | |
|
37 | 37 | |
@@ -96,12 +96,11 b' class TestsBase(object):' | |||
|
96 | 96 | text = text.replace(search, replacement) |
|
97 | 97 | return text |
|
98 | 98 | |
|
99 | ||
|
100 | 99 | def create_temp_cwd(self, copy_filenames=None): |
|
101 | 100 | temp_dir = TemporaryWorkingDirectory() |
|
102 | 101 | |
|
103 | 102 | #Copy the files if requested. |
|
104 |
if |
|
|
103 | if copy_filenames is not None: | |
|
105 | 104 | self.copy_files_to(copy_filenames) |
|
106 | 105 | |
|
107 | 106 | #Return directory handler |
General Comments 0
You need to be logged in to leave comments.
Login now