diff --git a/examples/transpose.py b/examples/transpose.py
index 21cc8cd8037bdc5b48ebbb166ddbfc24d52b05ca..b6a073deab6ca5a4f219e5c19640e175dd8cb8cd 100644
--- a/examples/transpose.py
+++ b/examples/transpose.py
@@ -1,8 +1,7 @@
 # Transposition of a matrix
 # originally for PyCUDA by Hendrik Riedmann <riedmann@dam.brown.edu>
 
-
-
+from __future__ import division
 import pyopencl as cl
 import numpy
 import numpy.linalg as la
diff --git a/test/test_clmath.py b/test/test_clmath.py
index f31485fe17e829f6486529086ca7dc70b3b0c4de..9228b57b5dda590f145090a36947f119295400d1 100644
--- a/test/test_clmath.py
+++ b/test/test_clmath.py
@@ -1,4 +1,4 @@
-
+from __future__ import division
 import math
 import numpy
 import pytools.test