Skip to content

Commit

Permalink
Update test_valid_parentheses.py
Browse files Browse the repository at this point in the history
************* Module kyu_7.valid_parentheses.test_valid_parentheses
kyu_7/valid_parentheses/test_valid_parentheses.py:130:26: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
kyu_7/valid_parentheses/test_valid_parentheses.py:154:26: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
  • Loading branch information
ikostan committed Nov 30, 2024
1 parent 2c6a0e6 commit d917260
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kyu_7/valid_parentheses/test_valid_parentheses.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ def test_valid_parentheses_large_valid(self):
'<h3>Test Description:</h3>'
"<p>Valid large test string</p>")
# pylint: enable=R0801
with (allure.step(f"Enter a large valid test string and verify"
f"that the function returns True.")):
with (allure.step("Enter a large valid test string and verify"
"that the function returns True.")):
test_str: str = ('()(()()()()(()())((()()())((((())(()))(()))((('
')(())((()))((())()))(())(()()(())))())))')
result: bool = valid_parentheses(test_str)
Expand All @@ -151,8 +151,8 @@ def test_valid_parentheses_large_invalid(self):
'<h3>Test Description:</h3>'
"<p>Invalid large test string</p>")
# pylint: enable=R0801
with (allure.step(f"Enter a large invalid test string and verify"
f"that the function returns False.")):
with (allure.step("Enter a large invalid test string and verify"
"that the function returns False.")):
test_str: str = ('(((())(()()(()()))(())())(((()(()))))()(()()(('
'))))()()()(()())(()()(()()()(()()()((()())))))())()')
result: bool = valid_parentheses(test_str)
Expand Down

0 comments on commit d917260

Please sign in to comment.