diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_editor.py | 4 | ||||
-rw-r--r-- | tests/test_git_command.py | 4 | ||||
-rw-r--r-- | tests/test_git_config.py | 4 | ||||
-rw-r--r-- | tests/test_hooks.py | 5 | ||||
-rw-r--r-- | tests/test_manifest_xml.py | 4 | ||||
-rw-r--r-- | tests/test_project.py | 4 | ||||
-rw-r--r-- | tests/test_wrapper.py | 4 |
7 files changed, 0 insertions, 29 deletions
diff --git a/tests/test_editor.py b/tests/test_editor.py index fbcfcdbd..cfd4f5ed 100644 --- a/tests/test_editor.py +++ b/tests/test_editor.py | |||
@@ -1,5 +1,3 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | # | ||
3 | # Copyright (C) 2019 The Android Open Source Project | 1 | # Copyright (C) 2019 The Android Open Source Project |
4 | # | 2 | # |
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -16,8 +14,6 @@ | |||
16 | 14 | ||
17 | """Unittests for the editor.py module.""" | 15 | """Unittests for the editor.py module.""" |
18 | 16 | ||
19 | from __future__ import print_function | ||
20 | |||
21 | import unittest | 17 | import unittest |
22 | 18 | ||
23 | from editor import Editor | 19 | from editor import Editor |
diff --git a/tests/test_git_command.py b/tests/test_git_command.py index 2c22b250..912a9dbe 100644 --- a/tests/test_git_command.py +++ b/tests/test_git_command.py | |||
@@ -1,5 +1,3 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | # | ||
3 | # Copyright 2019 The Android Open Source Project | 1 | # Copyright 2019 The Android Open Source Project |
4 | # | 2 | # |
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -16,8 +14,6 @@ | |||
16 | 14 | ||
17 | """Unittests for the git_command.py module.""" | 15 | """Unittests for the git_command.py module.""" |
18 | 16 | ||
19 | from __future__ import print_function | ||
20 | |||
21 | import re | 17 | import re |
22 | import unittest | 18 | import unittest |
23 | 19 | ||
diff --git a/tests/test_git_config.py b/tests/test_git_config.py index 4541b35c..964bc324 100644 --- a/tests/test_git_config.py +++ b/tests/test_git_config.py | |||
@@ -1,5 +1,3 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | # | ||
3 | # Copyright (C) 2009 The Android Open Source Project | 1 | # Copyright (C) 2009 The Android Open Source Project |
4 | # | 2 | # |
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -16,8 +14,6 @@ | |||
16 | 14 | ||
17 | """Unittests for the git_config.py module.""" | 15 | """Unittests for the git_config.py module.""" |
18 | 16 | ||
19 | from __future__ import print_function | ||
20 | |||
21 | import os | 17 | import os |
22 | import unittest | 18 | import unittest |
23 | 19 | ||
diff --git a/tests/test_hooks.py b/tests/test_hooks.py index ed8268df..6632b3e5 100644 --- a/tests/test_hooks.py +++ b/tests/test_hooks.py | |||
@@ -1,5 +1,3 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | # | ||
3 | # Copyright (C) 2019 The Android Open Source Project | 1 | # Copyright (C) 2019 The Android Open Source Project |
4 | # | 2 | # |
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -16,8 +14,6 @@ | |||
16 | 14 | ||
17 | """Unittests for the hooks.py module.""" | 15 | """Unittests for the hooks.py module.""" |
18 | 16 | ||
19 | from __future__ import print_function | ||
20 | |||
21 | import hooks | 17 | import hooks |
22 | import unittest | 18 | import unittest |
23 | 19 | ||
@@ -28,7 +24,6 @@ class RepoHookShebang(unittest.TestCase): | |||
28 | """Lines w/out shebangs should be rejected.""" | 24 | """Lines w/out shebangs should be rejected.""" |
29 | DATA = ( | 25 | DATA = ( |
30 | '', | 26 | '', |
31 | '# -*- coding:utf-8 -*-\n', | ||
32 | '#\n# foo\n', | 27 | '#\n# foo\n', |
33 | '# Bad shebang in script\n#!/foo\n' | 28 | '# Bad shebang in script\n#!/foo\n' |
34 | ) | 29 | ) |
diff --git a/tests/test_manifest_xml.py b/tests/test_manifest_xml.py index 2a8c3f66..d53ea568 100644 --- a/tests/test_manifest_xml.py +++ b/tests/test_manifest_xml.py | |||
@@ -1,5 +1,3 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | # | ||
3 | # Copyright (C) 2019 The Android Open Source Project | 1 | # Copyright (C) 2019 The Android Open Source Project |
4 | # | 2 | # |
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -16,8 +14,6 @@ | |||
16 | 14 | ||
17 | """Unittests for the manifest_xml.py module.""" | 15 | """Unittests for the manifest_xml.py module.""" |
18 | 16 | ||
19 | from __future__ import print_function | ||
20 | |||
21 | import os | 17 | import os |
22 | import shutil | 18 | import shutil |
23 | import tempfile | 19 | import tempfile |
diff --git a/tests/test_project.py b/tests/test_project.py index 02285e2f..7dfbabb3 100644 --- a/tests/test_project.py +++ b/tests/test_project.py | |||
@@ -1,5 +1,3 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | # | ||
3 | # Copyright (C) 2019 The Android Open Source Project | 1 | # Copyright (C) 2019 The Android Open Source Project |
4 | # | 2 | # |
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -16,8 +14,6 @@ | |||
16 | 14 | ||
17 | """Unittests for the project.py module.""" | 15 | """Unittests for the project.py module.""" |
18 | 16 | ||
19 | from __future__ import print_function | ||
20 | |||
21 | import contextlib | 17 | import contextlib |
22 | import os | 18 | import os |
23 | import shutil | 19 | import shutil |
diff --git a/tests/test_wrapper.py b/tests/test_wrapper.py index d7e5800f..5e2cfa57 100644 --- a/tests/test_wrapper.py +++ b/tests/test_wrapper.py | |||
@@ -1,5 +1,3 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | # | ||
3 | # Copyright (C) 2015 The Android Open Source Project | 1 | # Copyright (C) 2015 The Android Open Source Project |
4 | # | 2 | # |
5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -16,8 +14,6 @@ | |||
16 | 14 | ||
17 | """Unittests for the wrapper.py module.""" | 15 | """Unittests for the wrapper.py module.""" |
18 | 16 | ||
19 | from __future__ import print_function | ||
20 | |||
21 | import contextlib | 17 | import contextlib |
22 | import os | 18 | import os |
23 | import re | 19 | import re |