File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
modules/mailpit/testcontainers/mailpit Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1515import os
1616import tempfile
1717from datetime import datetime , timedelta , timezone
18- from typing import TYPE_CHECKING , NamedTuple
18+ from typing import TYPE_CHECKING , Any , NamedTuple
1919
2020from cryptography import x509
2121from cryptography .hazmat .primitives import hashes , serialization
2929from testcontainers .core .waiting_utils import wait_for_logs
3030
3131if TYPE_CHECKING :
32- from typing_extensions import ParamSpec , Self
33-
34- P = ParamSpec ("P" )
32+ from typing_extensions import Self
3533
3634
3735class MailpitUser (NamedTuple ):
@@ -127,7 +125,7 @@ def start(self) -> Self:
127125 wait_for_logs (self , ".*accessible via.*" )
128126 return self
129127
130- def stop (self , * args , ** kwargs ) -> None :
128+ def stop (self , * args : Any , ** kwargs : Any ) -> None :
131129 super ().stop (* args , ** kwargs )
132130 os .remove (self .tls_key_file )
133131 os .remove (self .tls_cert_file )
You can’t perform that action at this time.
0 commit comments