bpo-44353: Improve tests covering typing.NewType pickling (GH-27302) (GH-27328)

(cherry picked from commit a22b05da87bdfb081d6aaecfce136ae8dbb8680c)

Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
1 file changed