Skip to content

Commit 9f5debf

Browse files
jellybehrmann
authored andcommitted
varlink: change sleep_duration to a float
In another test it is set to 0.1 which upsets mypy as it changes the type from a float to an int.
1 parent d8a9e05 commit 9f5debf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

varlink/tests/test_orgexamplemore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(self, reason):
8888

8989
@service.interface("org.example.more")
9090
class Example:
91-
sleep_duration = 1
91+
sleep_duration = 1.0
9292

9393
def TestMore(self, n, _more=True, _server=None):
9494
try:

0 commit comments

Comments
 (0)