--- ryu/tests/unit/ofproto/test_parser_ofpmatch.py | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py b/ryu/tests/unit/ofproto/test_parser_ofpmatch.py index d801f8a..8400e1b 100644 --- a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py +++ b/ryu/tests/unit/ofproto/test_parser_ofpmatch.py @@ -14,6 +14,13 @@ # See the License for the specific language governing permissions and # limitations under the License. +try: + # Python 3 + from functools import reduce +except ImportError: + # Python 2 + pass + import sys import unittest from nose.tools import eq_ -- 2.3.2 (Apple Git-55) ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
