Skip to content

Commit

Permalink
Removes extra clause for pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
derphilipp committed Jan 5, 2016
1 parent d3db5eb commit c57b9c3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,13 @@ def test_inverse_h():


# --info
@pytest.mark.skipif(sys.version_info < (3, 4) or
platform.python_implementation() == 'PyPy',
@pytest.mark.skipif(sys.version_info < (3, 4),
reason="Before Python 3.4, --info writes to stderr")
def test_version_to_stdout():
helper_test_match(SIMPLEDIR, '--version', 'pwgrep 0.0.1\n', '', 0)


@pytest.mark.skipif(not(sys.version_info < (3, 4) or
platform.python_implementation() == 'PyPy'),
@pytest.mark.skipif(not (sys.version_info < (3, 4)),
reason="On and after Python 3.4, --info writes to stdout")
def test_version_to_stderr():
helper_test_match(SIMPLEDIR, '--version', '', 'pwgrep 0.0.1\n', 0)
Expand Down

0 comments on commit c57b9c3

Please sign in to comment.