summaryrefslogtreecommitdiff
path: root/generated_tests/gen_builtin_uniform_tests.py
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-02-23 13:53:10 -0800
committerDylan Baker <baker.dylan.c@gmail.com>2015-02-23 15:47:10 -0800
commit27cea0df708fdd13edeaadacc0b8ca8b768616b9 (patch)
tree0ebe3c91e6e50018743f26a82e29e6a894931e92 /generated_tests/gen_builtin_uniform_tests.py
parent13770974f4b93c89314d58ad1f20e8bf502dfbfa (diff)
generated tests: Use __future__ division
This coverts all of the generators to use python3 style division. None of these generators are currently affected by this change (generally the author of the generator has taken pains to ensure that python2 division does the right thing by explicitly converting between int and float), but it should reduce surprise to future modifiers, which is good. v2: - add this patch Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'generated_tests/gen_builtin_uniform_tests.py')
-rw-r--r--generated_tests/gen_builtin_uniform_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/generated_tests/gen_builtin_uniform_tests.py b/generated_tests/gen_builtin_uniform_tests.py
index 8347b1c28..ba0022b89 100644
--- a/generated_tests/gen_builtin_uniform_tests.py
+++ b/generated_tests/gen_builtin_uniform_tests.py
@@ -44,7 +44,7 @@
# With the optional argument --names-only, it only outputs the names
# of the files; it doesn't generate them.
-from __future__ import print_function
+from __future__ import print_function, division
from builtin_function import *
import abc
import numpy