From 61489f9f52515585c62b68f1b8b9cd0ea9fd8efd Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 9 Jun 2013 18:41:42 -0400 Subject: [PATCH] Fix missing reduce in GA tests --- test/test_pymbolic.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_pymbolic.py b/test/test_pymbolic.py index 3e7a1aa..51d6ddf 100644 --- a/test/test_pymbolic.py +++ b/test/test_pymbolic.py @@ -27,6 +27,11 @@ import pytest from pymbolic.mapper import IdentityMapper +try: + reduce +except NameError: + from functools import reduce + def test_expand(): from pymbolic import var, expand -- GitLab