Skip to content

Instantly share code, notes, and snippets.

@piskvorky
Created October 17, 2017 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piskvorky/84f1c3ab351c5d88397130298509c47b to your computer and use it in GitHub Desktop.
Save piskvorky/84f1c3ab351c5d88397130298509c47b to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_iteritems (bounter.tests.hashtable.test_htc_iteration.HashTableIterationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/work/workspace/bounter/bounter/tests/hashtable/test_htc_iteration.py", line 43, in test_iteritems
self.assertEqual(set(self.ht.iteritems()), self.pairs)
AttributeError: 'bounter_htc.HT_Basic' object has no attribute 'iteritems'
======================================================================
ERROR: test_iterkeys (bounter.tests.hashtable.test_htc_iteration.HashTableIterationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/work/workspace/bounter/bounter/tests/hashtable/test_htc_iteration.py", line 31, in test_iterkeys
self.assertEqual(set(self.ht.iterkeys()), self.keys)
AttributeError: 'bounter_htc.HT_Basic' object has no attribute 'iterkeys'
======================================================================
ERROR: test_itervalues (bounter.tests.hashtable.test_htc_iteration.HashTableIterationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/work/workspace/bounter/bounter/tests/hashtable/test_htc_iteration.py", line 37, in test_itervalues
self.assertEqual(set(self.ht.itervalues()), self.values)
AttributeError: 'bounter_htc.HT_Basic' object has no attribute 'itervalues'
======================================================================
ERROR: test_keys (bounter.tests.hashtable.test_htc_iteration.HashTableIterationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/work/workspace/bounter/bounter/tests/hashtable/test_htc_iteration.py", line 28, in test_keys
self.assertEqual(set(self.ht.keys()), self.keys)
AttributeError: 'bounter_htc.HT_Basic' object has no attribute 'keys'
======================================================================
ERROR: test_values (bounter.tests.hashtable.test_htc_iteration.HashTableIterationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/work/workspace/bounter/bounter/tests/hashtable/test_htc_iteration.py", line 34, in test_values
self.assertEqual(set(self.ht.values()), self.values)
AttributeError: 'bounter_htc.HT_Basic' object has no attribute 'values'
----------------------------------------------------------------------
Ran 188 tests in 23.863s
FAILED (errors=5)
Test failed: <unittest.runner.TextTestResult run=188 errors=5 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=188 errors=5 failures=0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment