Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Side by Side Diff: tools/telemetry/third_party/coverage/tests/backtest.py

Issue 1366913004: Add coverage Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2 # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
3
4 """Add things to old Pythons so I can pretend they are newer, for tests."""
5
6 # pylint: disable=redefined-builtin
7 # (Redefining built-in blah)
8 # The whole point of this file is to redefine built-ins, so shut up about it.
9
10
11 # No more execfile in Py3
12 try:
13 execfile = execfile
14 except NameError:
15 def execfile(filename, globs):
16 """A Python 3 implementation of execfile."""
17 with open(filename) as fobj:
18 code = fobj.read()
19 exec(compile(code, filename, 'exec'), globs)
OLDNEW
« no previous file with comments | « tools/telemetry/third_party/coverage/tests/__init__.py ('k') | tools/telemetry/third_party/coverage/tests/coveragetest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698