Skip to content

Commit

Permalink
fixing docstring (#15545)
Browse files Browse the repository at this point in the history
  • Loading branch information
seankane-msft committed Nov 25, 2020
1 parent 2154e14 commit 2e25d43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/azure-sdk-tools/devtools_testutils/azure_testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,11 @@ def get_preparer_resource_name(self, prefix):
@staticmethod
def await_prepared_test(test_fn):
"""Synchronous wrapper for async test methods. Used to avoid making changes
upstream to AbstractPreparer (which doesn't await the functions it wraps)
upstream to AbstractPreparer, which only awaits async tests that use preparers.
(Add @AzureTestCase.await_prepared_test decorator to async tests without preparers)
# Note: this will only be needed so long as we maintain unittest.TestCase in our
test-class inheritance chain.
"""

if sys.version_info < (3, 5):
Expand Down

0 comments on commit 2e25d43

Please sign in to comment.