Skip to content

Conversation

dlepikhova
Copy link
Contributor

For correct work test_help_6 we need skip this test if PostgreSQL configured without --enable-nls

…p_6 we need skip this test if PostgreSQL configured without --enable-nls
@dlepikhova dlepikhova requested a review from avaness June 22, 2022 13:23
else:
return False

def enable_nls():
Copy link
Contributor

@avaness avaness Jun 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rename to check_enable_nls() or something like this

Comment on lines 112 to 115
if b'enable-nls' in p.communicate()[0]:
return True
else:
return False
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not

Suggested change
if b'enable-nls' in p.communicate()[0]:
return True
else:
return False
return b'enable-nls' in p.communicate()[0]

?

@dlepikhova dlepikhova changed the base branch from release_2_5_7 to REL_2_5 August 3, 2022 13:54
@dlepikhova dlepikhova added this to the 2.5.7 milestone Aug 3, 2022
@dlepikhova dlepikhova merged commit 786ccf0 into REL_2_5 Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants