diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-09-28 17:53:49 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:18:18 -0300 |
commit | e5e92df4a71ec01cbe849907b7113f0f65eb5163 (patch) | |
tree | 9e6815cc3294d229268a86c69efa11419d71e13b | |
parent | 5c3e73b48f8d9b2fb0f1b5abef10df3736a93f68 (diff) |
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.
-rw-r--r-- | tests/py3k.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/py3k.py b/tests/py3k.py new file mode 100644 index 000000000..5f2961a6a --- /dev/null +++ b/tests/py3k.py @@ -0,0 +1,2 @@ +def printToFile(f, str): + print(str, file=f) |