diff options
author | Ilya Etingof <etingof@gmail.com> | 2017-10-16 23:45:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 23:45:38 +0200 |
commit | d1f9acd3859b7e40494bd619ab2e1c52dd72379c (patch) | |
tree | e4b24cff7c18da7461f12f773173fe539157e344 /tests/codec/ber | |
parent | e9371571a198af2c49151155f7a8ca9aa72580b9 (diff) | |
download | pyasn1-d1f9acd3859b7e40494bd619ab2e1c52dd72379c.tar.gz |
Remove None initializer support (#91)
* `None` legacy initializer support removed
* Default value for `Null` removed
Diffstat (limited to 'tests/codec/ber')
-rw-r--r-- | tests/codec/ber/test_encoder.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/codec/ber/test_encoder.py b/tests/codec/ber/test_encoder.py index ba91919..f87843c 100644 --- a/tests/codec/ber/test_encoder.py +++ b/tests/codec/ber/test_encoder.py @@ -746,11 +746,11 @@ class SequenceEncoderWithComponentsSchemaTestCase(BaseTestCase): def __init(self): self.s.clear() - self.s.setComponentByPosition(0) + self.s.setComponentByPosition(0, '') def __initWithOptional(self): self.s.clear() - self.s.setComponentByPosition(0) + self.s.setComponentByPosition(0, '') self.s.setComponentByPosition(1, 'quick brown') def __initWithDefaulted(self): @@ -991,11 +991,11 @@ class SetEncoderWithComponentsSchemaTestCase(BaseTestCase): def __init(self): self.s.clear() - self.s.setComponentByPosition(0) + self.s.setComponentByPosition(0, '') def __initWithOptional(self): self.s.clear() - self.s.setComponentByPosition(0) + self.s.setComponentByPosition(0, '') self.s.setComponentByPosition(1, 'quick brown') def __initWithDefaulted(self): |