* teach repr.repr() about collections.deque()
* rename a variable for clarity
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py
index b00f328..4ded484 100644
--- a/Lib/test/test_repr.py
+++ b/Lib/test/test_repr.py
@@ -35,6 +35,7 @@
 
     def test_container(self):
         from array import array
+        from collections import deque
 
         eq = self.assertEquals
         # Tuples give up after 6 elements
@@ -65,6 +66,9 @@
         eq(r(frozenset([1, 2, 3, 4, 5, 6])), "frozenset([1, 2, 3, 4, 5, 6])")
         eq(r(frozenset([1, 2, 3, 4, 5, 6, 7])), "frozenset([1, 2, 3, 4, 5, 6, ...])")
 
+        # collections.deque after 6
+        eq(r(deque([1, 2, 3, 4, 5, 6, 7])), "deque([1, 2, 3, 4, 5, 6, ...])")
+
         # Dictionaries give up after 4.
         eq(r({}), "{}")
         d = {'alice': 1, 'bob': 2, 'charles': 3, 'dave': 4}