Skip to content

Commit 1b05fe9

Browse files
committed
Temporarily set prefer_single_line=True for testing
1 parent 76a7688 commit 1b05fe9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xtest/test_regrtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def execute(python, path):
9494
shutil.copy(self.test_path, self.test_path + '.bak')
9595

9696
with open(self.test_path, 'wb') as f:
97-
f.write(minify(source, self.test_path, **self.options).encode())
97+
f.write(minify(source, self.test_path, prefer_single_line=True, **self.options).encode())
9898

9999
execute(sys.executable, self.test_path)
100100
except ErrorReturnCode as e:

xtest/test_unparse_env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_unparse(path):
3434
pytest.skip('Invalid syntax in file')
3535

3636
# Test unparsing
37-
unparse(original_ast)
37+
unparse(original_ast, prefer_single_line=True)
3838

3939
# Test transforms
40-
minify(source, filename=path)
40+
minify(source, filename=path, prefer_single_line=True)

0 commit comments

Comments
 (0)