Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(97)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: recipe_engine/third_party/astunparse/__init__.py
Issue
2387763003
:
Add initial postprocess unit test thingy. (Closed)
Patch Set:
Created 4 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.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
recipe_engine/env.py
recipe_engine/post_process.py
recipe_engine/recipe_test_api.py
recipe_engine/simulation_test.py
recipe_engine/step_runner.py
recipe_engine/third_party/astunparse/LICENSE
recipe_engine/third_party/astunparse/README.google
recipe_engine/third_party/astunparse/__init__.py
recipe_engine/third_party/astunparse/__main__.py
recipe_engine/third_party/astunparse/printer.py
recipe_engine/third_party/astunparse/unparser.py
recipe_engine/third_party/expect_tests/__init__.py
recipe_engine/third_party/expect_tests/handle_test.py
recipe_engine/third_party/expect_tests/handle_train.py
recipe_engine/third_party/expect_tests/type_definitions.py
recipes/engine_tests/whitelist_steps.py
recipes/engine_tests/whitelist_steps.expected/all_steps.json
recipes/engine_tests/whitelist_steps.expected/selection.json
View unified diff
|
Download patch
« recipe_engine/third_party/astunparse/README.google
('K') |
« recipe_engine/third_party/astunparse/README.google
('k') |
recipe_engine/third_party/astunparse/__main__.py »
('j') |
recipe_engine/third_party/expect_tests/handle_test.py »
('J')
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
# coding: utf-8
2
from __future__ import absolute_import
3
from six.moves import cStringIO
4
from .unparser import Unparser
5
from .printer import Printer
6
7
8
__version__ = '1.4.0'
9
10
11
def unparse(tree):
12
v = cStringIO()
13
Unparser(tree, file=v)
14
return v.getvalue()
15
16
17
def dump(tree):
18
v = cStringIO()
19
Printer(file=v).visit(tree)
20
return v.getvalue()
OLD
NEW
« recipe_engine/third_party/astunparse/README.google
('K') |
« recipe_engine/third_party/astunparse/README.google
('k') |
recipe_engine/third_party/astunparse/__main__.py »
('j') |
recipe_engine/third_party/expect_tests/handle_test.py »
('J')
Issue 2387763003: Add initial postprocess unit test thingy. (Closed)
Created 4 years, 2 months ago by iannucci
Modified 4 years, 2 months ago
Reviewers: martiniss, dnj, Dirk Pranke, Michael Achenbach
Base URL:
Comments: 162
This is Rietveld
408576698