aboutsummaryrefslogtreecommitdiff
path: root/webtests
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-26 19:12:33 +0300
committerBonfaceKilz2020-08-26 19:12:33 +0300
commit303e4b71c2172da5be19c84d4be5a062329ac013 (patch)
tree130496e7b4c6fe2157c14abd50be941823ed40b9 /webtests
parent7717f0d3d4802d115a8b5ace4d379864ba5b1188 (diff)
downloadgenenetwork2-303e4b71c2172da5be19c84d4be5a062329ac013.tar.gz
Remove "from __future__ import new_feature" statements
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
Diffstat (limited to 'webtests')
-rw-r--r--webtests/browser_run.py4
-rw-r--r--webtests/correlation_matrix_test.py2
-rw-r--r--webtests/correlation_test.py2
-rw-r--r--webtests/marker_regression_test.py2
-rw-r--r--webtests/show_trait_js_test.py2
-rw-r--r--webtests/test_runner.py4
6 files changed, 2 insertions, 14 deletions
diff --git a/webtests/browser_run.py b/webtests/browser_run.py
index 2ec299c5..7ee540b7 100644
--- a/webtests/browser_run.py
+++ b/webtests/browser_run.py
@@ -1,5 +1,3 @@
-from __future__ import absolute_import, division, print_function
-
__all__ = ('sleep', 'testmod', 'test')
from doctest import testmod
@@ -71,4 +69,4 @@ class Test(object):
-test = Test() \ No newline at end of file
+test = Test()
diff --git a/webtests/correlation_matrix_test.py b/webtests/correlation_matrix_test.py
index 8529c265..97114890 100644
--- a/webtests/correlation_matrix_test.py
+++ b/webtests/correlation_matrix_test.py
@@ -65,8 +65,6 @@ text: 0.608\n71
"""
-from __future__ import absolute_import, division, print_function
-
from browser_run import *
testmod()
diff --git a/webtests/correlation_test.py b/webtests/correlation_test.py
index aad3a69f..311bb847 100644
--- a/webtests/correlation_test.py
+++ b/webtests/correlation_test.py
@@ -44,8 +44,6 @@ text: 1.000
"""
-from __future__ import absolute_import, division, print_function
-
from browser_run import *
testmod()
diff --git a/webtests/marker_regression_test.py b/webtests/marker_regression_test.py
index c4f76f53..9b4a4acb 100644
--- a/webtests/marker_regression_test.py
+++ b/webtests/marker_regression_test.py
@@ -48,8 +48,6 @@ text: 11.511
"""
-from __future__ import absolute_import, division, print_function
-
from browser_run import *
testmod()
diff --git a/webtests/show_trait_js_test.py b/webtests/show_trait_js_test.py
index 0fd2c16c..34ffd3b7 100644
--- a/webtests/show_trait_js_test.py
+++ b/webtests/show_trait_js_test.py
@@ -35,8 +35,6 @@ style: display: none;
"""
-from __future__ import absolute_import, division, print_function
-
from browser_run import *
testmod()
diff --git a/webtests/test_runner.py b/webtests/test_runner.py
index ef6d0d69..b5b590a6 100644
--- a/webtests/test_runner.py
+++ b/webtests/test_runner.py
@@ -1,5 +1,3 @@
-from __future__ import absolute_import, division, print_function
-
import unittest
import doctest
import glob
@@ -25,4 +23,4 @@ def main():
runner.run(suite)
if __name__ == '__main__':
- main() \ No newline at end of file
+ main()