From 720f62647516adb6800674b51f8fced8b8538d1b Mon Sep 17 00:00:00 2001 From: Samuel Jackson <samueljackson@outlook.com> Date: Tue, 3 Oct 2017 10:30:03 +0100 Subject: [PATCH] Refs #20674 Fix doctest by using functools.reduce --- docs/sphinxext/mantiddoc/doctest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sphinxext/mantiddoc/doctest.py b/docs/sphinxext/mantiddoc/doctest.py index f6aa1953d2a..85dcc2a60f4 100644 --- a/docs/sphinxext/mantiddoc/doctest.py +++ b/docs/sphinxext/mantiddoc/doctest.py @@ -123,6 +123,7 @@ 0 failures in setup code 0 failures in cleanup code """ +from functools import reduce import re try: import lxml.etree as ElementTree -- GitLab