Skip to content

Commit f51fb3c

Browse files
authored
Fix indent of added test
And add blank line.
1 parent b18e547 commit f51fb3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_asyncio/test_timeouts.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ async def test_foreign_exception_passed(self):
115115
raise KeyError
116116
self.assertFalse(cm.expired())
117117

118-
async def test_foreign_exception_on_timeout(self):
118+
async def test_foreign_exception_on_timeout(self):
119119
async def crash():
120120
try:
121121
await asyncio.sleep(1)
@@ -124,6 +124,7 @@ async def crash():
124124
with self.assertRaises(ZeroDivisionError):
125125
async with asyncio.timeout(0.01):
126126
await crash()
127+
127128
async def test_foreign_cancel_doesnt_timeout_if_not_expired(self):
128129
with self.assertRaises(asyncio.CancelledError):
129130
async with asyncio.timeout(10) as cm:

0 commit comments

Comments
 (0)