jupyter / terminado

Terminals served by tornado websockets
http://terminado.readthedocs.org/en/latest/
BSD 2-Clause "Simplified" License
368 stars 95 forks source link

0.10.1: pytest warnings #109

Open kloczek opened 3 years ago

kloczek commented 3 years ago

Just normal build, install and test cycle used on building package from non-root account:

. . [ 11%] terminado/tests/basic_test.py ........ [100%]

============================================================================= warnings summary ============================================================================= terminado/tests/basic_test.py:39 /home/tkloczko/rpmbuild/BUILD/terminado-0.10.1/terminado/tests/basic_test.py:39: PytestCollectionWarning: cannot collect test class 'TestTermClient' because it has a init constructor (from: terminado/tests/basic_test.py) class TestTermClient(object):

terminado/tests/basic_test.py::UniqueTermTests::test_max_terminals /home/tkloczko/rpmbuild/BUILD/terminado-0.10.1/terminado/tests/basic_test.py:259: DeprecationWarning: Please use assertEqual instead. self.assertEquals(msg, None)

terminado/tests/basic_test.py::UniqueTermTests::test_max_terminals /home/tkloczko/rpmbuild/BUILD/terminado-0.10.1/terminado/tests/basic_test.py:264: DeprecationWarning: Please use assertEqual instead. self.assertEquals(msg[0], 'setup')

-- Docs: https://docs.pytest.org/en/stable/warnings.html ====================================================================== 9 passed, 3 warnings in 45.61s ======================================================================