Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. #1341

Merged
merged 2 commits into from
Apr 28, 2017

Commits on Apr 28, 2017

  1. bpo-30197: Enhance functions swap_attr() and swap_item() in test.supp…

    …ort.
    
    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.
    serhiy-storchaka committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    04ed416 View commit details
    Browse the repository at this point in the history
  2. Update docstrings.

    serhiy-storchaka committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    f7146e8 View commit details
    Browse the repository at this point in the history