Merge 3.2

This commit is contained in:
Éric Araujo 2011-08-20 20:02:04 +02:00
commit 87f58d828a
1 changed files with 3 additions and 3 deletions

View File

@ -136,9 +136,9 @@ def copy_xxmodule_c(directory):
Example use:
def test_compile(self):
copy_xxmodule_c(self.tmpdir)
self.assertIn('xxmodule.c', os.listdir(self.tmpdir)
def test_compile(self):
copy_xxmodule_c(self.tmpdir)
self.assertIn('xxmodule.c', os.listdir(self.tmpdir)
If the source file can be found, it will be copied to *directory*. If not,
the test will be skipped. Errors during copy are not caught.