Skip to content

Commit 6462e58

Browse files
committed
In liblber {0, ""} corresponds to b'' and {0, NULL} corresponds to None
1 parent dbd7a38 commit 6462e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/t_ldap_options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
])
2424
TEST_CTRL_EXPECTED = [
2525
TEST_CTRL[0],
26-
# get_option returns empty bytes
27-
(TEST_CTRL[1][0], TEST_CTRL[1][1], b''),
26+
# Noop has no value
27+
(TEST_CTRL[1][0], TEST_CTRL[1][1], None),
2828
]
2929

3030

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy