annotate tools/base64 @ 5035:b5bb492e4b3c

Rename TestMessage to ExampleMessage When py.test is searching for tests it detects TestMessage as a potential class with test cases because it has 'Test' in its name. Because TestMessage contains a __init__ constructor py.test returns a warning that it can't collect tests from it. Lets rename the class to ExampleMessage to avoid this issue.
author John Kristensen <john@jerrykan.com>
date Fri, 21 Aug 2015 17:37:22 +1000
parents 740102dfad1d
children c75defc1c2f0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2181
740102dfad1d favicon generation stuff
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
1 #!/usr/bin/env python
740102dfad1d favicon generation stuff
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
2 import zlib, base64, sys
740102dfad1d favicon generation stuff
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
3 print base64.encodestring(zlib.compress(sys.stdin.read()))

Roundup Issue Tracker: http://roundup-tracker.org/