mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-21 00:22:56 +00:00
PEP 8 clean thanks to auto pep8
This commit is contained in:
@ -20,6 +20,7 @@ from unittest.mock import patch
|
||||
|
||||
|
||||
class _asyncio_patch:
|
||||
|
||||
"""
|
||||
A wrapper around python patch supporting asyncio.
|
||||
Like the original patch you can use it as context
|
||||
@ -29,6 +30,7 @@ class _asyncio_patch:
|
||||
inspiration:
|
||||
https://hg.python.org/cpython/file/3.4/Lib/unittest/mock.py
|
||||
"""
|
||||
|
||||
def __init__(self, function, *args, **kwargs):
|
||||
self.function = function
|
||||
self.args = args
|
||||
|
Reference in New Issue
Block a user