From 0baf632a01df608ee4528bbc231b4d4d296a8bd9 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Wed, 18 Dec 2013 00:55:21 +0100 Subject: [PATCH] Limit the nb of cpu for the tests --- tests/test_gallery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_gallery.py b/tests/test_gallery.py index f55dbd8..c7b30d3 100644 --- a/tests/test_gallery.py +++ b/tests/test_gallery.py @@ -117,7 +117,7 @@ def test_gallery(tmpdir): default_conf = os.path.join(SAMPLE_DIR, 'sigal.conf.py') settings = read_settings(default_conf) settings['destination'] = str(tmpdir) - gal = Gallery(settings) + gal = Gallery(settings, ncpu=1) gal.build() out_html = os.path.join(settings['destination'], 'index.html')