New submission from Karthikeyan Singaravelan <tir.kar...@gmail.com>:

Following deprecation warnings are raised when tests are ran with -Wall in 
CPython test suite. I will raise a PR for this.


0:03:48 load avg: 0.79 [ 59/427] test_cmd_line                                  
                                                                                
        
/root/cpython/Lib/test/test_cmd_line.py:865: DeprecationWarning: invalid escape 
sequence \u                                                                     
        
  self.check_string(b"'\u1f'")

0:04:11 load avg: 0.86 [ 77/427] test_collections                               
                                                                                
        
/root/cpython/Lib/test/test_collections.py:1518: DeprecationWarning: Please use 
assertEqual instead.                                                            
        
  self.assertEquals(len(s), len(items) - 1)

----------
components: Tests
messages: 390923
nosy: xtreak
priority: normal
severity: normal
status: open
title: Deprecation warnings in test cases
type: behavior
versions: Python 3.10

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

Reply via email to