summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qsql-namespace/qsql-namespace.pro
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/qsql-namespace/qsql-namespace.pro')
0 files changed, 0 insertions, 0 deletions
pan>fname1) support.unlink(self.fname2) DATA = b'Jack is my hero' def test_binhex(self): f = open(self.fname1, 'wb') f.write(self.DATA) f.close() binhex.binhex(self.fname1, self.fname2) binhex.hexbin(self.fname2, self.fname1) f = open(self.fname1, 'rb') finish = f.readline() f.close() self.assertEqual(self.DATA, finish) def test_main(): support.run_unittest(BinHexTestCase) if __name__ == "__main__": test_main()