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

Issue 2034 #2088

Merged
merged 4 commits into from
Nov 27, 2016
Merged

Issue 2034 #2088

merged 4 commits into from
Nov 27, 2016

Conversation

nmundar
Copy link
Contributor

@nmundar nmundar commented Nov 26, 2016

Thanks for submitting a PR, your contribution is really appreciated!

Here's a quick checklist that should be present in PRs:

  • Target: for bug or doc fixes, target master; for new features, target features;

Unless your change is trivial documentation fix (e.g., a typo or reword of a small section) please:

  • Make sure to include one or more tests for your change;
  • Add yourself to AUTHORS;
  • Add a new entry to CHANGELOG.rst
    • Choose any open position to avoid merge conflicts with other PRs.
    • Add a link to the issue you are fixing (if any) using RST syntax.
    • The pytest team likes to have people to acknowledged in the CHANGELOG, so please add a thank note to yourself ("Thanks @user for the PR") and a link to your GitHub profile. It may sound weird thanking yourself, but otherwise a maintainer would have to do it manually before or after merging instead of just using GitHub's merge button. This makes it easier on the maintainers to merge PRs.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 92.821% when pulling c919ab6 on nmundar:issue-2034 into 33796c8 on pytest-dev:master.

@@ -190,7 +190,9 @@ def __getattr__(self, name):

def compatproperty(name):
def fget(self):
# deprecated - use pytest.name
import warnings
warnings.warn("compatproperty is deprecated. Use pytest.name",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be: "compatproperty is deprecated. Use pytest.{0}".format(name)

Copy link
Member

@nicoddemus nicoddemus Nov 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm actually this probably should be:

"this usage is deprecated, please use pytest.{0} instead".format(name)" because I'm not sure of all cases this is deprecating.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the name of the property to the deprecation message.

@nicoddemus
Copy link
Member

Thanks!

@nicoddemus
Copy link
Member

Also please rebase on master.

@nmundar
Copy link
Contributor Author

nmundar commented Nov 26, 2016

Argh, sorry for the typo in the commit message!

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0008%) to 92.82% when pulling 7e0c462 on nmundar:issue-2034 into 33796c8 on pytest-dev:master.

@nicoddemus
Copy link
Member

nicoddemus commented Nov 26, 2016 via email

@nmundar
Copy link
Contributor Author

nmundar commented Nov 26, 2016

Please, if it's not a bother, update the changelog as you see fit, you have a better idea about wording. Don't want to mess up, the same with force pushing amended commits.

@nicoddemus
Copy link
Member

nicoddemus commented Nov 26, 2016 via email

@nicoddemus
Copy link
Member

Updated CHANGELOG and rebased on master. Forced push to the branch in your fork @nmundar, hope you don't mind.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 92.82% when pulling 2d71979 on nmundar:issue-2034 into 4837542 on pytest-dev:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 92.82% when pulling 2d71979 on nmundar:issue-2034 into 4837542 on pytest-dev:master.

@nicoddemus nicoddemus merged commit 0735d45 into pytest-dev:master Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants