Anton Grübel
c54909ab69
Use ParamSpec for unittest.signals.removeHandler() ( #5905 )
2021-08-19 18:32:24 +02:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Anton Grübel
d68701c0ec
Use _typeshed.Self with __enter__ ( #5723 )
...
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-07-04 21:10:01 +03:00
Shantanu
74a8900166
mock: fix overloads ( #5534 )
...
* mock: fix overloads
Fixes #5533 . This changes the order and in some cases removes default
values from new.
* ignore incompatible overlaps
Co-authored-by: hauntsaninja <>
2021-05-26 22:16:51 +02:00
Akuli
17dcea4a68
Akuli and srittau: Remove Python 2 branches from Python 3 stubs ( #5461 )
...
* run script and do some manual changes (Akuli)
* do the whole thing manually (srittau)
* merge changes (Akuli)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2021-05-15 15:33:39 +03:00
hatal175
bf5ff49b53
mailbox, mimetypes, unittest, zipfile: stubtest fixes ( #5239 )
2021-04-21 21:58:01 -07:00
Mark Vismonte
861f0a9844
Use collections.abc.Set in assertSetEqual ( #5090 )
2021-03-06 21:04:14 +01:00
Mark Vismonte
ea7f1f9c2d
Use Mapping in assertDictEqual ( #5088 )
2021-03-04 15:52:21 -08:00
JonathanMeans
f4c35f1059
assert_has_awaits takes Iterable[_Call] instead of _CallList ( #5052 )
2021-02-22 22:55:51 +01:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00