From 599e7a4b24f766a31eacffd3f613f5f4369139b3 Mon Sep 17 00:00:00 2001 From: Julien Bect Date: Thu, 18 Jun 2020 14:07:27 +0200 Subject: [PATCH] plotting_tests.py: Use os.makedirs instead of matplotlib.cbook.mkdirs (fix #844) --- GPy/testing/plotting_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/testing/plotting_tests.py b/GPy/testing/plotting_tests.py index 20032ca6..23564ff3 100644 --- a/GPy/testing/plotting_tests.py +++ b/GPy/testing/plotting_tests.py @@ -87,7 +87,7 @@ def _image_directories(): result_dir = os.path.join(basedir, 'testresult','.') baseline_dir = os.path.join(basedir, 'baseline','.') if not os.path.exists(result_dir): - cbook.mkdirs(result_dir) + os.makedirs(result_dir) return baseline_dir, result_dir baseline_dir, result_dir = _image_directories()