# HG changeset patch
# User Bob Ippolito <bob@redivi.com>
# Date 1315160425 25200
#      Sun Sep 04 11:20:25 2011 -0700
# Node ID b182f3c5a4088dcea3751faccc86d389813a407b
# Parent  9fb61f54c0cfde6632c51ac937bb3e8f4ec04504
fix tests for py2.5

diff --git a/simplejson/tests/test_namedtuple.py b/simplejson/tests/test_namedtuple.py
--- a/simplejson/tests/test_namedtuple.py
+++ b/simplejson/tests/test_namedtuple.py
@@ -6,9 +6,15 @@
     from collections import namedtuple
 except ImportError:
     class Value(tuple):
+        def __new__(cls, *args):
+            return tuple.__new__(cls, args)
+
         def _asdict(self):
             return {'value': self[0]}
     class Point(tuple):
+        def __new__(cls, *args):
+            return tuple.__new__(cls, args)
+
         def _asdict(self):
             return {'x': self[0], 'y': self[1]}
 else: