Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #96 from uber/skipif
Browse files Browse the repository at this point in the history
remove an unneeded skipif and yapf the tests
  • Loading branch information
eklitzke authored Jul 31, 2017
2 parents d1a7617 + 5c37c05 commit 1d2e33e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@ def sleeper():
with python_proc('sleeper.py') as p:
yield p

@pytest.mark.skipif(sys.version_info < (3, 3), reason="requires Python 3.3+")

@pytest.yield_fixture
def unicode_sleeper():
with python_proc('sleeper_ユニコード.py') as p:
yield p


@pytest.yield_fixture
def threaded_sleeper():
with python_proc('threaded_sleeper.py') as p:
Expand Down Expand Up @@ -222,7 +223,8 @@ def test_exclude_idle(sleeper):
@pytest.mark.skipif(sys.version_info < (3, 3), reason="requires Python 3.3+")
def test_utf8_output(unicode_sleeper):
proc = subprocess.Popen(
['./src/pyflame', '-x', str(unicode_sleeper.pid)],
['./src/pyflame', '-x',
str(unicode_sleeper.pid)],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
universal_newlines=True)
Expand Down

0 comments on commit 1d2e33e

Please sign in to comment.