Coverage for mhlib/l2/l2.py: 100%

11 statements  

« prev     ^ index     » next       coverage.py v6.4.1, created at 2022-06-04 11:40 +0100

1"""Documentation for l2.py.""" 

2 

3import time 

4 

5L2EG_VAR = 'efgh' 

6 

7 

8def l2_test() -> str: 

9 """L2 test function.""" 

10 return 'ok2' 

11 

12 

13class L2Mh (object): 

14 """class L2Mh documentation""" 

15 

16 def run(self) -> int: 

17 """Simple function""" 

18 return 10 

19 

20 def slow(self) -> int: 

21 """Example slow function.""" 

22 t = 5 

23 time.sleep(t) 

24 return t