diff options
author | Zackery Spytz <zspytz@gmail.com> | 2019-09-14 07:42:56 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-14 07:42:56 (GMT) |
commit | d057b896f97e6d7447b9bf9246770c41cf205299 (patch) | |
tree | a35fe3b2e93f31ab468ae7eae7b65428a06a2547 /Python/bltinmodule.c | |
parent | a26ace19bddea2d7a999a6de8286b3f27b132f35 (diff) | |
download | cpython-d057b896f97e6d7447b9bf9246770c41cf205299.zip cpython-d057b896f97e6d7447b9bf9246770c41cf205299.tar.gz cpython-d057b896f97e6d7447b9bf9246770c41cf205299.tar.bz2 |
bpo-37953: Fix deprecation warnings in test_typing (GH-16133)
self.assertEquals() is deprecated.
```
./python -We -m test test_typing
Run tests sequentially
0:00:00 load avg: 0.23 [1/1] test_typing
test test_typing failed -- Traceback (most recent call last):
File "/home/lubuntu2/cpython/Lib/test/test_typing.py", line 2382, in test_forward_equality_gth
self.assertEquals(Union[c1, c1_gth], Union[c1])
File "/home/lubuntu2/cpython/Lib/unittest/case.py", line 1390, in deprecated_func
warnings.warn(
DeprecationWarning: Please use assertEqual instead.
test_typing failed
== Tests result: FAILURE ==
1 test failed:
test_typing
Total duration: 140 ms
Tests result: FAILURE
```
https://bugs.python.org/issue37953
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions