Run of lintian-fixes for nbclient

Try this locally (using the lintian-brush package):

debcheckout nbclient
cd nbclient
lintian-brush
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
E               AssertionError                            Traceback (most recent call last)
E               <ipython-input-3-b099cd1c75aa> in <module>
E                    11             break
E                    12 else:
E               ---> 13     assert False, "Timed out – didn't get a message from {}".format(other_notebook)
E               
E               AssertionError: Timed out – didn't get a message from A
E               AssertionError: Timed out – didn't get a message from A

nbclient/client.py:740: CellExecutionError
=============================== warnings summary ===============================
.pybuild/cpython3_3.9/build/nbclient/tests/test_client.py::test_startnewkernel_with_kernelmanager
.pybuild/cpython3_3.9/build/nbclient/tests/test_client.py::test_start_new_kernel_history_file_setting
  /usr/lib/python3/dist-packages/jupyter_client/manager.py:357: FutureWarning: Method cleanup(connection_file=True) is deprecated, use cleanup_resources(restart=False).
    warnings.warn("Method cleanup(connection_file=True) is deprecated, use cleanup_resources(restart=False).",

Summary

Full worker log Full build log