Permalink
Browse files

created py3k file to make tests compatible with python3.x and python2.x

This file is necessary due some problem with syntax generated by 'file'
named argument.
  • Loading branch information...
1 parent edb1780 commit 82f59088a05a66bcb19d04292014adf09721b2fc Renato Filho committed Sep 28, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/py3k.py
View
@@ -0,0 +1,2 @@
+def printToFile(f, str):
+ print(str, file=f)

0 comments on commit 82f5908

Please sign in to comment.