From 76e3c0befb8f31cd3ba8d5baa36f6529486069af Mon Sep 17 00:00:00 2001 From: Jean-Matthieu Etancelin <jean-matthieu.etancelin@imag.fr> Date: Thu, 6 Mar 2014 08:59:04 +0000 Subject: [PATCH] Fix io_utils for doctest --- HySoP/hysop/tools/io_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HySoP/hysop/tools/io_utils.py b/HySoP/hysop/tools/io_utils.py index 291e2dddc..80bfa83f3 100644 --- a/HySoP/hysop/tools/io_utils.py +++ b/HySoP/hysop/tools/io_utils.py @@ -52,7 +52,7 @@ class io(object): else: # -- python -- a = a[-1] - if a[-1] is None: + if a[-1] is None or len(findall('py.test', a[1])) > 0: # interactive python return './interactive/p' + str(mpi.main_size) -- GitLab