summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan Pipek <jan.pipek@gmail.com>2019-09-13 11:50:54 +0200
committerIlya Etingof <etingof@gmail.com>2019-11-15 19:31:42 +0100
commitc547dde3fa555795c6b42c043eea792d390085a9 (patch)
tree1e43a8f2c5cbdad2b3ffa8a2a89ff8c0a44fdf62 /tests
parent8446ab5f523cb78707ef3aa0532c29ffda6db9b5 (diff)
downloadpyasn1-git-c547dde3fa555795c6b42c043eea792d390085a9.tar.gz
Address several pull requests comments + hide asSeekableStream
Diffstat (limited to 'tests')
-rw-r--r--tests/codec/ber/test_decoder.py4
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