Browse Source

Python 3.8 or 3.9 moved these, use the new location..

main
John-Mark Gurney 2 years ago
parent
commit
45c322269d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ntunnel/__init__.py

+ 2
- 2
ntunnel/__init__.py View File

@@ -451,7 +451,7 @@ async def NoiseForwarder(mode, encrdrwrr, connvalid, priv_key, pub_key=None):
while True:
try:
msg = await rdr.readexactly(2 + 16)
except asyncio.streams.IncompleteReadError:
except asyncio.IncompleteReadError:
if rdr.at_eof():
return 'dec'

@@ -902,7 +902,7 @@ class TestMain(unittest.TestCase):
reader, writer = await connectsockstr(ptclientstr)

# XXX - this might not be the best test.
with self.assertRaises(asyncio.futures.TimeoutError):
with self.assertRaises(asyncio.TimeoutError):
# make sure that we don't get the conenction
await asyncio.wait_for(ptsockevent.wait(), .5)



Loading…
Cancel
Save