@@ -14,7 +14,7 @@ class CustomError(Exception):
1414def test_str ():
1515 loop = asyncio .new_event_loop ()
1616
17- @crontab ("* * * * * * " , loop = loop )
17+ @crontab ("* * * * *" , loop = loop )
1818 def t ():
1919 pass
2020
@@ -26,7 +26,7 @@ def test_cron():
2626
2727 future = asyncio .Future (loop = loop )
2828
29- @crontab ("* * * * * * " , start = False , loop = loop )
29+ @crontab ("* * * * *" , start = False , loop = loop )
3030 def t ():
3131 future .set_result (1 )
3232
@@ -41,7 +41,7 @@ def test_raise():
4141
4242 future = asyncio .Future (loop = loop )
4343
44- @crontab ("* * * * * * " , start = False , loop = loop )
44+ @crontab ("* * * * *" , start = False , loop = loop )
4545 def t ():
4646 loop .call_later (1 , future .set_result , 1 )
4747 raise ValueError ()
@@ -58,7 +58,7 @@ def test_next():
5858 def t ():
5959 return 1
6060
61- t = crontab ("* * * * * * " , func = t , loop = loop )
61+ t = crontab ("* * * * *" , func = t , loop = loop )
6262
6363 future = asyncio .ensure_future (t .next (), loop = loop )
6464
@@ -69,7 +69,7 @@ def t():
6969def test_null_callback ():
7070 loop = asyncio .new_event_loop ()
7171
72- t = crontab ("* * * * * * " , loop = loop )
72+ t = crontab ("* * * * *" , loop = loop )
7373
7474 assert t .handle is None # not started
7575
@@ -82,7 +82,7 @@ def test_null_callback():
8282def test_next_raise ():
8383 loop = asyncio .new_event_loop ()
8484
85- @crontab ("* * * * * * " , loop = loop )
85+ @crontab ("* * * * *" , loop = loop )
8686 def t ():
8787 raise CustomError ()
8888
@@ -95,7 +95,7 @@ def t():
9595def test_coro_next ():
9696 loop = asyncio .new_event_loop ()
9797
98- @crontab ("* * * * * * " , loop = loop )
98+ @crontab ("* * * * *" , loop = loop )
9999 async def t ():
100100 return 1
101101
@@ -108,7 +108,7 @@ async def t():
108108def test_coro_next_raise ():
109109 loop = asyncio .new_event_loop ()
110110
111- @crontab ("* * * * * * " , loop = loop )
111+ @crontab ("* * * * *" , loop = loop )
112112 async def t ():
113113 raise CustomError ()
114114
0 commit comments