aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-08-28 01:03:19 +0200
committerIlya Etingof <etingof@gmail.com>2017-08-28 01:03:19 +0200
commit3708d3c891802e300f8c7912052ec0c1f9750a47 (patch)
treeeabf2550439860ee2a4bd79cce70178ccdbfa9e0 /tests
parent67893143133a9f76fd98b812df0982017cd05833 (diff)
downloadpyasn1-3708d3c891802e300f8c7912052ec0c1f9750a47.tar.gz
one more char instantiation test case
Diffstat (limited to 'tests')
-rw-r--r--tests/type/test_char.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/type/test_char.py b/tests/type/test_char.py
index 82b612b..dcdbbd2 100644
--- a/tests/type/test_char.py
+++ b/tests/type/test_char.py
@@ -62,6 +62,7 @@ class AbstractStringTestCase:
assert self.asn1Type(self.pythonString) == self.pythonString
assert self.asn1Type(self.pythonString.encode(self.encoding)) == self.pythonString
assert self.asn1Type(univ.OctetString(self.pythonString.encode(self.encoding))) == self.pythonString
+ assert self.asn1Type(self.asn1Type(self.pythonString)) == self.pythonString
assert self.asn1Type(self.initializer, encoding=self.encoding) == self.pythonString
def testInitFromAsn1(self):