Skip to content

Commit 1093b92

Browse files
committed
Make sure pretty_hex works under Python 2 and Python 3.
* Run doctests under tox. * Add pretty_hdex doc tests for string, bytes and unicode Fixes tinyfpga#48
1 parent 99f87a5 commit 1093b92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

programmer/check_doctests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env python
2+
import doctest
3+
import tinyprog
4+
doctest.testmod(tinyprog)

0 commit comments

Comments
 (0)