Skip to content
Snippets Groups Projects
Commit 59ba68ef authored by Alex Willmer's avatar Alex Willmer
Browse files

Use byte literals in examples and unit tests

In Python 2.x an unprefixed string literal produces a byte string.
In Python 3.x an unprefixed string literal produces a textual string.

To produce a byte string in both a b prefix is needed, e.g. b'foo'.
Since I believe Hammer works predominantly with byte strings I have used
b prefixes throughout.
parent 8b4b8ddc
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment