Skip to content

Commit 2e25d43

Browse files
fixing docstring (Azure#15545)
1 parent 2154e14 commit 2e25d43

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/azure-sdk-tools/devtools_testutils/azure_testcase.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,11 @@ def get_preparer_resource_name(self, prefix):
295295
@staticmethod
296296
def await_prepared_test(test_fn):
297297
"""Synchronous wrapper for async test methods. Used to avoid making changes
298-
upstream to AbstractPreparer (which doesn't await the functions it wraps)
298+
upstream to AbstractPreparer, which only awaits async tests that use preparers.
299+
(Add @AzureTestCase.await_prepared_test decorator to async tests without preparers)
300+
301+
# Note: this will only be needed so long as we maintain unittest.TestCase in our
302+
test-class inheritance chain.
299303
"""
300304

301305
if sys.version_info < (3, 5):

0 commit comments

Comments
 (0)