From 784ccfc040dc8efa1a64d3c7d4070b66beb15d08 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 1 Jan 2021 08:42:31 -0500 Subject: strip python2-only coding:utf-8 & print_function settings We're committed to Python 3 at this point, so clean up boilerplate. Bug: https://crbug.com/gerrit/10418 Change-Id: Ib1719ba2eb65c53b94881a1a1bf203ddfcaaafed Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/292382 Reviewed-by: Chris Mcdonald Tested-by: Mike Frysinger --- tests/test_hooks.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/test_hooks.py') 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 @@ -# -*- coding:utf-8 -*- -# # Copyright (C) 2019 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,8 +14,6 @@ """Unittests for the hooks.py module.""" -from __future__ import print_function - import hooks import unittest @@ -28,7 +24,6 @@ class RepoHookShebang(unittest.TestCase): """Lines w/out shebangs should be rejected.""" DATA = ( '', - '# -*- coding:utf-8 -*-\n', '#\n# foo\n', '# Bad shebang in script\n#!/foo\n' ) -- cgit v1.2.3-54-g00ecf