Update test

This commit is contained in:
rocky
2018-04-07 07:21:22 -04:00
parent 1bbb72a6ce
commit 23fb07b1c9
5 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
# Python 3.6 subprocess.py bug # Python 3.6 subprocess.py bug
# Bug is getting params correct: timeout before **kwargs # Bug is getting params correct: timeout before **kwargs
import subprocess
def call(*popenargs, timeout=None, **kwargs): def call(*popenargs, timeout=None, **kwargs):
return return
@@ -14,6 +15,9 @@ def subprocess_shell(self, protocol_factory, cmd, *, stdin=subprocess.PIPE,
# From 3.4 asyncio/locks.py # From 3.4 asyncio/locks.py
# Bug was handling" "value=1, *" # Bug was handling" "value=1, *"
class Semaphore:
pass
class BoundedSemaphore(Semaphore): class BoundedSemaphore(Semaphore):
def __init__(self, value=1, *, loop=None): def __init__(self, value=1, *, loop=None):
super().__init__(value, loop=loop) super().__init__(value, loop=loop)