test__twistedutil_protocol: fix NameError when importing without gnutls
This commit is contained in:
@@ -228,7 +228,6 @@ try:
|
|||||||
import gnutls.interfaces.twisted
|
import gnutls.interfaces.twisted
|
||||||
except ImportError:
|
except ImportError:
|
||||||
del TestTLSError
|
del TestTLSError
|
||||||
del TestHalfClose_TLS
|
|
||||||
|
|
||||||
if __name__=='__main__':
|
if __name__=='__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
Reference in New Issue
Block a user