...
This commit is contained in:
parent
1036132838
commit
b5c086aedb
@ -127,7 +127,7 @@ begin_load_signature(PyObject *self UNUSED, PyObject *args UNUSED) {
|
||||
static PyObject*
|
||||
build_hash_table(PyObject *self UNUSED, PyObject *args) {
|
||||
PyObject *sig_capsule;
|
||||
if (!PyArg_ParseTuple(args, "O!y#|p", &PyCapsule_Type, &sig_capsule)) return NULL;
|
||||
if (!PyArg_ParseTuple(args, "O!", &PyCapsule_Type, &sig_capsule)) return NULL;
|
||||
GET_SIG_FROM_CAPSULE;
|
||||
rs_result res = rs_build_hash_table(sig);
|
||||
if (res != RS_DONE) {
|
||||
|
||||
@ -88,7 +88,7 @@ class TransmissionError(Exception):
|
||||
name: str = '',
|
||||
size: int = -1
|
||||
) -> None:
|
||||
Exception.__init__(self, msg)
|
||||
super().__init__(msg)
|
||||
self.transmit = transmit
|
||||
self.file_id = file_id
|
||||
self.human_msg = msg
|
||||
|
||||
@ -108,7 +108,7 @@ def filled_history_buf(ynum=5, xnum=5, cursor=Cursor()):
|
||||
class BaseTest(TestCase):
|
||||
|
||||
ae = TestCase.assertEqual
|
||||
maxDiff = 2000
|
||||
maxDiff = 2048
|
||||
is_ci = os.environ.get('CI') == 'true'
|
||||
|
||||
def set_options(self, options=None):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user