Skip to content

Commit c6ce564

Browse files
committed
fix usage
1 parent a8a1dd2 commit c6ce564

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ async def run_scenario(self, spec, uri=None):
13801380
for flaky_test in flaky_tests:
13811381
if re.match(flaky_test, self.id()) is not None:
13821382
decorator = flaky(reset_func=self.asyncSetUp, func_name=self.id())
1383-
await decorator(func)
1383+
await decorator(func)()
13841384
return
13851385
await func()
13861386

test/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ def run_scenario(self, spec, uri=None):
13671367
for flaky_test in flaky_tests:
13681368
if re.match(flaky_test, self.id()) is not None:
13691369
decorator = flaky(reset_func=self.setUp, func_name=self.id())
1370-
decorator(func)
1370+
decorator(func)()
13711371
return
13721372
func()
13731373

0 commit comments

Comments
 (0)