diff options
Diffstat (limited to 'tests/test_hooks.py')
| -rw-r--r-- | tests/test_hooks.py | 5 |
1 files changed, 0 insertions, 5 deletions
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 | ) |
