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