Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb013801

Browse files
[BUG FIX] TestgresTests::test_safe_psql__expect_error uses rm_carriage_returns
It fixes a problem with this test on Windows.
1 parent31c7bce commitb013801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/test_simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def test_safe_psql__expect_error(self):
327327

328328
# ---------
329329
res=node.safe_psql("select 1;",expect_error=False)
330-
self.assertEqual(res,b'1\n')
330+
self.assertEqual(rm_carriage_returns(res),b'1\n')
331331

332332
deftest_transactions(self):
333333
withget_new_node().init().start()asnode:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp