aboutsummaryrefslogtreecommitdiff
path: root/src/test/hs_ntor_ref.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/hs_ntor_ref.py')
-rw-r--r--src/test/hs_ntor_ref.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/hs_ntor_ref.py b/src/test/hs_ntor_ref.py
index d58ac3ca23..98025dd584 100644
--- a/src/test/hs_ntor_ref.py
+++ b/src/test/hs_ntor_ref.py
@@ -41,6 +41,11 @@ The whole logic and concept for this test suite was taken from ntor_ref.py.
*** DO NOT USE THIS IN PRODUCTION. ***
"""
+# 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 struct
import os, sys
import binascii