Skip to content

Commit

Permalink
Add deadline to hypothesis docstring test.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 231674992
Change-Id: If476a6d13976881539e61807efded5855e5321d6
  • Loading branch information
dbieber authored and copybara-github committed Jan 30, 2019
1 parent b9aafbd commit c99a034
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fire/docstrings_fuzz_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

class DocstringsFuzzTest(testutils.BaseTestCase):

@settings(max_examples=10000)
@settings(max_examples=10000, deadline=1000)
@given(st.text(min_size=1))
@example('This is a one-line docstring.')
def test_fuzz_parse(self, value):
Expand Down
4 changes: 2 additions & 2 deletions fire/helputils.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ def HelpTextForObject(component, info, trace=None, verbose=False):
values.append((member_name, member))

possible_actions = []
# TODO(joejoevictor): Add global flags to here. Also, if it's a callable, there
# will be additional flags.
# TODO(joejoevictor): Add global flags to here. Also, if it's a callable,
# there will be additional flags.
possible_flags = ''
detail_section_string = ''
item_template = """
Expand Down

0 comments on commit c99a034

Please sign in to comment.