Skip to content

Instantly share code, notes, and snippets.

@0xBADDCAFE
Created July 4, 2013 16:52
Show Gist options
  • Save 0xBADDCAFE/5929075 to your computer and use it in GitHub Desktop.
Save 0xBADDCAFE/5929075 to your computer and use it in GitHub Desktop.
cahp2.q0005
....F
======================================================================
FAIL: test_no_sideeffect (__main__.NumberingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./tests/chap2/q0005.py", line 30, in test_no_sideeffect
self.assertEqual(xs, ys)
AssertionError: Lists differ: [(0, 0), (1, 1), (2, 2), (3, 3... != [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
First differing element 0:
(0, 0)
0
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
- [(0, 0),
- (1, 1),
- (2, 2),
- (3, 3),
- (4, 4),
- (5, 5),
- (6, 6),
- (7, 7),
- (8, 8),
- (9, 9)]
----------------------------------------------------------------------
Ran 5 tests in 0.009s
FAILED (failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment