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

Side by Side Diff: tools/telemetry/third_party/coverage/tests/stress_phystoken.tok

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 # Here's some random Python so that test_tokenize_myself will have some
5 # stressful stuff to try. This file is .tok instead of .py so pylint won't
6 # complain about it, check_eol won't look at it, etc.
7
8 first_back = """\
9 hey there!
10 """
11
12 other_back = """
13 hey \
14 there
15 """
16
17 lots_of_back = """\
18 hey \
19 there
20 """
21 # This next line is supposed to have trailing whitespace:
22 fake_back = """\
23 ouch
24 """
25
26 # Lots of difficulty happens with code like:
27 #
28 # fake_back = """\
29 # ouch
30 # """
31 #
32 # Ugh, the edge cases...
33
34 # What about a comment like this\
35 "what's this string doing here?"
36
37 class C(object):
38 def there():
39 this = 5 + \
40 7
41 that = \
42 "a continued line"
43
44 cont1 = "one line of text" + \
45 "another line of text"
46
47 a_long_string = \
48 "part 1" \
49 "2" \
50 "3 is longer"
51
52 def hello():
53 print("Hello world!")
54
55 hello()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698