/
niceSOFT
/
python3-pyOpenSSL
Обзор
Документация
Войти
/
niceSOFT
/
python3-pyOpenSSL
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/util.py
13 строк
423 B
Alex Gaynor
Complete nearly all of getting test_crypto.py to type-check (#1399)
08 янв 2025, 01:36
Не верифицирован
08 янв 2025, 01:36
67d973a
Код
Авторство
О чём код?
# Copyright (C) Jean-Paul Calderone # Copyright (C) Twisted Matrix Laboratories. # See LICENSE for details. """ Helpers for the OpenSSL test suite, largely copied from U{Twisted<http://twistedmatrix.com/>}. """ # This is the UTF-8 encoding of the SNOWMAN unicode code point. NON_ASCII = b"\xe2\x98\x83".decode("utf-8") # The type name expected in warnings about using the wrong string type. WARNING_TYPE_EXPECTED = "str"