diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-03-04 09:39:47 +0200 | 
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-03-04 09:39:47 +0200 | 
| commit | be70002866417fec082dbfcf1d4ce97e64eb1e40 (patch) | |
| tree | 9e090385dc52bac29210348372f9cb99930e8096 | |
| parent | cfc2a1fc700e1f93a2e1d9a3de02bb936f868a42 (diff) | |
| download | cpython-git-be70002866417fec082dbfcf1d4ce97e64eb1e40.tar.gz | |
Fixed typo in pickle tests.
| -rw-r--r-- | Lib/test/pickletester.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py index fba110b14a..f252a0a10f 100644 --- a/Lib/test/pickletester.py +++ b/Lib/test/pickletester.py @@ -2448,7 +2448,7 @@ class REX_six(object):      def __init__(self, items=None):          self.items = items if items is not None else []      def __eq__(self, other): -        return type(self) is type(other) and self.items == self.items +        return type(self) is type(other) and self.items == other.items      def append(self, item):          self.items.append(item)      def __reduce__(self): @@ -2461,7 +2461,7 @@ class REX_seven(object):      def __init__(self, table=None):          self.table = table if table is not None else {}      def __eq__(self, other): -        return type(self) is type(other) and self.table == self.table +        return type(self) is type(other) and self.table == other.table      def __setitem__(self, key, value):          self.table[key] = value      def __reduce__(self):  | 
