Skip to content

Commit f5732d1

Browse files
committed
One-line input.
1 parent 59e8c81 commit f5732d1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/test_simple.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,7 @@ def test_psql(self):
105105
# check feeding input
106106
node.safe_psql('postgres', 'create table horns (w int)')
107107
node.safe_psql('postgres', 'copy horns from stdin (format csv)',
108-
input=
109-
b"""1
110-
2
111-
3
112-
\.
113-
""")
108+
input=b"1\n2\n3\n\.\n")
114109
sum = node.safe_psql('postgres', 'select sum(w) from horns')
115110
self.assertEqual(sum, b'6\n')
116111
node.safe_psql('postgres', 'drop table horns')

0 commit comments

Comments
 (0)