Skip to content

Commit 6587327

Browse files
v-buriakolegpidsadnyi
authored andcommitted
Clean script file.
1 parent b466b7b commit 6587327

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pytest_bdd/scripts.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,6 @@ def print_generated_code(args):
5555
print(code)
5656

5757

58-
def str2bool(val):
59-
"""Convert string to boolean."""
60-
if "True" == val:
61-
return True
62-
elif "False" == val:
63-
return False
64-
else:
65-
return val
66-
67-
6858
def main():
6959
"""Main entry point."""
7060
parser = argparse.ArgumentParser(prog="pytest-bdd")

0 commit comments

Comments
 (0)