Skip to content

Commit 4f5a3b1

Browse files
committed
fix test typing
1 parent 4432309 commit 4f5a3b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def require_load_balancer(self, func):
638638
lambda: self.load_balancer, "Must be connected to a load balancer", func=func
639639
)
640640

641-
def require_no_load_balancer(self, func):
641+
def require_no_load_balancer(self, func: Any) -> Any:
642642
"""Run a test only if the client is not connected to a load balancer."""
643643
return self._require(
644644
lambda: not self.load_balancer, "Must not be connected to a load balancer", func=func

test/asynchronous/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def require_load_balancer(self, func):
638638
lambda: self.load_balancer, "Must be connected to a load balancer", func=func
639639
)
640640

641-
def require_no_load_balancer(self, func):
641+
def require_no_load_balancer(self, func: Any) -> Any:
642642
"""Run a test only if the client is not connected to a load balancer."""
643643
return self._require(
644644
lambda: not self.load_balancer, "Must not be connected to a load balancer", func=func

0 commit comments

Comments
 (0)