Commit 9b4e4b08 authored by Chris McDonough's avatar Chris McDonough

Change IIBTree test suite.

parent 6bec07f9
......@@ -439,6 +439,16 @@ class TestIIBTrees(Base, TestCase):
def setUp(self):
self.t = IIBTree()
def nonIntegerKeyRaises(self):
self.assertRaises(TypeError, self._stringraises)
self.assertRaises(TypeError, self._floatraises)
def _stringraises(self):
self.t['c'] = 1
def _floatraises(self):
self.t[2.5] = 1
class TestOIBTrees(Base, TestCase):
def setUp(self):
self.t = OIBTree()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment