Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

Deprecation warnings are not on by default in tests. You can pass -Wall while 
running tests to turn on all warnings.

./python -Wall -m test test_capi
0:00:00 load avg: 2.46 Run tests sequentially
0:00:00 load avg: 2.46 [1/1] test_capi
/home/karthikeyan/stuff/python/cpython/Lib/unittest/case.py:550: 
DeprecationWarning: It is deprecated to return a value!=None from a test case 
(<built-in function test_null_strings>)
  warnings.warn(f'It is deprecated to return a value!=None from a '

== Tests result: SUCCESS ==

1 test OK.

Total duration: 5.2 sec
Tests result: SUCCESS

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41322>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to