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

Nose to pytest transition #183

Merged
merged 6 commits into from
Mar 24, 2018
Merged

Commits on Mar 16, 2018

  1. Configuration menu
    Copy the full SHA
    6a5f62e View commit details
    Browse the repository at this point in the history
  2. Migrate nose raises to pytest.raises.

    This touches a lot of code because pytest.raises
    is used in a context manager, so indentation
    has to be changed.
    
    Replacement happened with regex from
    @raises\((.*)\) to @pytest.mark.xfail(raises=$1)
    then from @pytest.mark.xfail\(raises=(.*)\)\ndef(.*)
    to def$2\n    with pytest.raises($1):
    then manual correction of indentation.
    bilderbuchi committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    209aa30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40f21f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2018

  1. Move CI from nosetests to pytest, adapt docs.

    Pin astroid version, too, to avoid wrong errors on CI.
    bilderbuchi committed Mar 17, 2018
    Configuration menu
    Copy the full SHA
    335d29a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6377a22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2056008 View commit details
    Browse the repository at this point in the history