fix tests
This commit is contained in:
@@ -30,7 +30,7 @@ class TestBCDataStream(unittest.TestCase):
|
|||||||
for v in values:
|
for v in values:
|
||||||
self.assertEqual(s.read_compact_size(), v)
|
self.assertEqual(s.read_compact_size(), v)
|
||||||
|
|
||||||
with self.assertRaises(IndexError):
|
with self.assertRaises(transaction.SerializationError):
|
||||||
s.read_compact_size()
|
s.read_compact_size()
|
||||||
|
|
||||||
def test_string(self):
|
def test_string(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user