@@ -14,7 +14,7 @@
import socket
-class Proxy():
+class Proxy:
""" Class for wrapping a shared resource object and getting
notified when it's deleted
"""
@@ -33,7 +33,7 @@ class Proxy():
def _get(self):
return self.object
-class ReferenceCounter():
+class ReferenceCounter:
""" Class for tracking references to a shared resource
@@ -10,7 +10,7 @@ from supervisor.tests.base import DummySocketConfig
from supervisor.datatypes import UnixStreamSocketConfig
from supervisor.datatypes import InetStreamSocketConfig
-class TestObject():
+class TestObject:
def __init__(self):
self.value = 5