[New-bugs-announce] [issue43825] Deprecation warnings in test cases

Karthikeyan Singaravelan report at bugs.python.org
Tue Apr 13 01:15:15 EDT 2021

New submission from Karthikeyan Singaravelan <tir.karthi at 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                                                                             

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list