Skip to content

Commit c60742d

Browse files
author
brentru
committed
repush simpletest with LF line ending
1 parent 9692130 commit c60742d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/binascii_simpletest.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77

88
# Get the hexadecimal representation of the binary data
99
hex_data = hexlify(data)
10-
# Verify data
1110
print("Hex Data: ", hex_data)
12-
assert hex_data == b"43697263756974507974686f6e20697320417765736f6d6521", "hexlified data does not match expected data."
13-
11+
# Verify data
12+
assert (
13+
hex_data == b"43697263756974507974686f6e20697320417765736f6d6521",
14+
), "hexlified data does not match expected data."
1415
# Get the binary data represented by hex_data
1516
bin_data = unhexlify(hex_data)
1617
print("Binary Data: ", bin_data)
@@ -29,5 +30,3 @@
2930
bin_data = a2b_base64(b"Qmxpbmth\n")
3031
print("Converted b64 ASCII->Binary Data: ", bin_data)
3132
assert bin_data == data, "Expected binary data does not match."
32-
33-
print("All checks OK!")

0 commit comments

Comments
 (0)