Show More
@@ -101,8 +101,6 b' def main():' | |||
|
101 | 101 | #readline.parse_and_bind('set page-completions no') |
|
102 | 102 | |
|
103 | 103 | |
|
104 | ||
|
105 | ||
|
106 | 104 | # some config helper functions you can use |
|
107 | 105 | def import_all(modules): |
|
108 | 106 | """ Usage: import_all("os sys") """ |
@@ -295,3 +295,12 b' def test_popkey_3():' | |||
|
295 | 295 | nt.assert_equal(dct, dict(c=3)) |
|
296 | 296 | nt.assert_equal(genutils.popkey(dct, "c"), 3) |
|
297 | 297 | nt.assert_equal(dct, dict()) |
|
298 | ||
|
299 | ||
|
300 | def test_filefind(): | |
|
301 | """Various tests for filefind""" | |
|
302 | f = tempfile.NamedTemporaryFile() | |
|
303 | print 'fname:',f.name | |
|
304 | alt_dirs = genutils.get_ipython_dir() | |
|
305 | t = genutils.filefind(f.name,alt_dirs) | |
|
306 | print 'found:',t |
General Comments 0
You need to be logged in to leave comments.
Login now