@@ -193,11 +193,11 @@ def test_unpicklable(self, obj: object) -> None:
193193
194194
195195class TestPSKStoreProxy :
196- @pytest .fixture ()
196+ @pytest .fixture
197197 def psk_store (self ) -> Mapping [str , bytes ]:
198198 return {"client" : b"the secret key" }
199199
200- @pytest .fixture ()
200+ @pytest .fixture
201201 def proxy (self , psk_store : Mapping [str , bytes ]) -> PSKStoreProxy :
202202 return PSKStoreProxy (psk_store )
203203
@@ -245,11 +245,11 @@ def version(self, request: Any) -> TLSVersion:
245245 assert isinstance (request .param , TLSVersion )
246246 return request .param
247247
248- @pytest .fixture ()
248+ @pytest .fixture
249249 def length (self ) -> int :
250250 return 42
251251
252- @pytest .fixture ()
252+ @pytest .fixture
253253 def header (
254254 self ,
255255 record_type : TLSRecordHeader .RecordType ,
@@ -289,7 +289,7 @@ def test_serialization(self, header: TLSRecordHeader) -> None:
289289
290290
291291class TestTLSSession :
292- @pytest .fixture ()
292+ @pytest .fixture
293293 def session (self ) -> TLSSession :
294294 return TLSSession ()
295295
@@ -298,7 +298,7 @@ def test_repr(self, session: TLSSession) -> None:
298298
299299
300300class TestTrustStore :
301- @pytest .fixture ()
301+ @pytest .fixture
302302 def store (self ) -> TrustStore :
303303 return TrustStore .system ()
304304
@@ -340,7 +340,7 @@ def test_add_new_certificate(self, store: TrustStore) -> None:
340340
341341
342342class TestDTLSCookie :
343- @pytest .fixture ()
343+ @pytest .fixture
344344 def cookie (self ) -> DTLSCookie :
345345 return DTLSCookie ()
346346
@@ -463,7 +463,7 @@ def test_psk_store(
463463
464464
465465class TestTLSConfiguration :
466- @pytest .fixture ()
466+ @pytest .fixture
467467 def conf (self ) -> TLSConfiguration :
468468 return TLSConfiguration ()
469469
@@ -485,7 +485,7 @@ def test_highest_supported_version(
485485
486486
487487class TestDTLSConfiguration :
488- @pytest .fixture ()
488+ @pytest .fixture
489489 def conf (self ) -> DTLSConfiguration :
490490 return DTLSConfiguration ()
491491
0 commit comments