mirror of https://github.com/kivy/pyjnius.git
Removr all use of 'future'.
This commit is contained in:
parent
b5db4c51f3
commit
da68d701f1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 *
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue