diff options
Diffstat (limited to 'tests/codec/ber/test_decoder.py')
-rw-r--r-- | tests/codec/ber/test_decoder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codec/ber/test_decoder.py b/tests/codec/ber/test_decoder.py index db09af0..7b233b8 100644 --- a/tests/codec/ber/test_decoder.py +++ b/tests/codec/ber/test_decoder.py @@ -1603,7 +1603,7 @@ class ErrorOnDecodingTestCase(BaseTestCase): def testErrorCondition(self): decode = decoder.Decoder(decoder.tagMap, decoder.typeMap) substrate = b'abc' - stream = decoder.asSeekableStream(substrate) + stream = decoder._asSeekableStream(substrate) try: asn1Object = decode(stream) @@ -1619,7 +1619,7 @@ class ErrorOnDecodingTestCase(BaseTestCase): def testRawDump(self): decode = decoder.Decoder(decoder.tagMap, decoder.typeMap) substrate = ints2octs((31, 8, 2, 1, 1, 131, 3, 2, 1, 12)) - stream = decoder.asSeekableStream(substrate, ) + stream = decoder._asSeekableStream(substrate, ) decode.defaultErrorState = decoder.stDumpRawValue |