aboutsummaryrefslogtreecommitdiff
path: root/tests/codec/ber/test_decoder.py
diff options
context:
space:
mode:
authorIlya Etingof <ietingof@redhat.com>2017-03-31 11:48:32 +0200
committerIlya Etingof <ietingof@redhat.com>2017-03-31 11:48:32 +0200
commit36fe017a3abb7c741c51cada06ccfca4a30a786f (patch)
treec2c5e259d04009d5eb52141d42a29a56806c6f37 /tests/codec/ber/test_decoder.py
parent2d7f05df7c68cce0bea6db3c68a46d2463b2eab4 (diff)
downloadpyasn1-36fe017a3abb7c741c51cada06ccfca4a30a786f.tar.gz
EndOfOctets refactored into singleton
Diffstat (limited to 'tests/codec/ber/test_decoder.py')
-rw-r--r--tests/codec/ber/test_decoder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codec/ber/test_decoder.py b/tests/codec/ber/test_decoder.py
index f3b6c7d..18d7f08 100644
--- a/tests/codec/ber/test_decoder.py
+++ b/tests/codec/ber/test_decoder.py
@@ -768,7 +768,7 @@ class EndOfOctetsTestCase(unittest.TestCase):
def testExpectedEoo(self):
result, remainder = decoder.decode(ints2octs((0, 0)), allowEoo=True)
- assert eoo.endOfOctets.isSameTypeWith(result) and result == eoo.endOfOctets
+ assert eoo.endOfOctets.isSameTypeWith(result) and result == eoo.endOfOctets and result is eoo.endOfOctets
assert remainder == null
def testDefiniteNoEoo(self):