From 1619f14a0420b0a57d65b9adeab8e8a4ef222b3a Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 12 Dec 2019 15:58:51 +1000 Subject: python: Add __future__ imports for python 3 compatibility Except for src/ext, which we may not want to modify. Closes ticket 32732. --- src/test/test_rebind.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/test_rebind.py') diff --git a/src/test/test_rebind.py b/src/test/test_rebind.py index c9b9200b2d..3fc3deb68e 100644 --- a/src/test/test_rebind.py +++ b/src/test/test_rebind.py @@ -1,4 +1,7 @@ +# Future imports for Python 2.7, mandatory in 3.0 +from __future__ import division from __future__ import print_function +from __future__ import unicode_literals import errno import logging -- cgit v1.2.3-54-g00ecf