diff options
Diffstat (limited to 'Misc/NEWS.d/next/Tests/0011.bpo-30197.c5wRfu.rst')
-rw-r--r-- | Misc/NEWS.d/next/Tests/0011.bpo-30197.c5wRfu.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/0011.bpo-30197.c5wRfu.rst b/Misc/NEWS.d/next/Tests/0011.bpo-30197.c5wRfu.rst new file mode 100644 index 0000000..63461bb --- /dev/null +++ b/Misc/NEWS.d/next/Tests/0011.bpo-30197.c5wRfu.rst @@ -0,0 +1,5 @@ +Enhanced functions swap_attr() and swap_item() in the test.support module. +They now work when delete replaced attribute or item inside the with +statement. The old value of the attribute or item (or None if it doesn't +exist) now will be assigned to the target of the "as" clause, if there is +one. |