Removr all use of 'future'.

This commit is contained in:
Benson Margulies 2015-11-04 17:30:24 -05:00
parent b5db4c51f3
commit da68d701f1
17 changed files with 4 additions and 36 deletions

View File

@ -9,7 +9,7 @@ before_install:
- sudo apt-get install python-pip openjdk-7-jdk
install:
- pip install --upgrade cython future six
- pip install --upgrade cython six
script:
- make

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius import autoclass, JavaException

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius import JavaException, JavaClass
from jnius.reflect import autoclass

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius.reflect import autoclass

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius import autoclass

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius.reflect import autoclass
from jnius import cast

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius.reflect import autoclass

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius.reflect import autoclass

View File

@ -2,8 +2,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius.reflect import autoclass

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius import autoclass, JavaException

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
# run it, and check with Java VisualVM if we are eating too much memory or not!
if __name__ == '__main__':
from jnius import autoclass

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius.reflect import autoclass

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius.reflect import autoclass

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius import autoclass

View File

@ -1,10 +1,8 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from builtins import super
from future import standard_library
standard_library.install_aliases()
from builtins import range
from six.moves import range
from jnius import autoclass, java_method, PythonJavaClass, cast
from nose.tools import *

View File

@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius.reflect import autoclass

View File

@ -1,11 +1,9 @@
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import unittest
from jnius import JavaClass, MetaJavaClass, JavaMethod
from future.utils import with_metaclass
from six import with_metaclass
class HelloWorldTest(unittest.TestCase):