Skip to content

Commit 1722014

Browse files
committed
Rename already used functions names
1 parent 29417f1 commit 1722014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_asn1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def test_context_no_tag_number(self):
336336
with pytest.raises(asn1.Error):
337337
enc.write(b'\x00\x01\x02\x03\x04', typ=asn1.Types.Primitive, cls=asn1.Classes.Context)
338338

339-
def test_context(self):
339+
def test_context_with_tag_number_10(self):
340340
enc = asn1.Encoder()
341341
enc.start()
342342
enc.write(b'\x00\x01\x02\x03\x04', nr=10, typ=asn1.Types.Primitive, cls=asn1.Classes.Context)
@@ -711,7 +711,7 @@ def test_big_negative_integer(self):
711711
assert val == -668929531791034950848739021124816874
712712
assert dec.eof()
713713

714-
def test_context(self):
714+
def test_mix_context_universal(self):
715715
encoded = 'tYHKgAETgwgBgDgJAGMS9aQGgAQBAAAChQUAh7Mfc6YGgAQBAAABhwx0ZXN0LnRlc3Quc2WIAgEhqQigBoAECtiCBIsBAawuM' \
716716
'CyCDAIjYh+TlkBYdGMQQIMBAIQBAIUBAoYJFwkVAClUKwAAiAgAIvIQAG0Yj40JFwkUIylUKwAAjgIOEI8BAJEBAZIJRENQMk' \
717717
'dHU04xlQEAlgmRI3cAUGBTA/CXAgAAmAEAmwMi8hCdCFOTKXBYgkMQngECnx8CgAGfIAgAIvIQAG0Yjw=='

0 commit comments

Comments
 (0)