2 """Test script for the binhex C module
4 Uses the mechanism of the python binhex module
9 from test_support
import verbose
14 fname1
= tempfile
.mktemp()
15 fname2
= tempfile
.mktemp()
18 raise ImportError, "Cannot test binhex without a temp file"
20 start
= 'Jack is my hero'
24 binhex
.binhex(fname1
, fname2
)
28 binhex
.hexbin(fname2
, fname1
)
36 print 'Error: binhex <> hexbin'
38 print 'binhex == hexbin'