diff options
author | Ilya Etingof <ietingof@redhat.com> | 2017-03-31 11:48:32 +0200 |
---|---|---|
committer | Ilya Etingof <ietingof@redhat.com> | 2017-03-31 11:48:32 +0200 |
commit | 36fe017a3abb7c741c51cada06ccfca4a30a786f (patch) | |
tree | c2c5e259d04009d5eb52141d42a29a56806c6f37 /tests/codec/ber/test_decoder.py | |
parent | 2d7f05df7c68cce0bea6db3c68a46d2463b2eab4 (diff) | |
download | pyasn1-36fe017a3abb7c741c51cada06ccfca4a30a786f.tar.gz |
EndOfOctets refactored into singleton
Diffstat (limited to 'tests/codec/ber/test_decoder.py')
-rw-r--r-- | tests/codec/ber/test_decoder.py | 2 |
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): |