Skip to content

Commit

Permalink
Merge pull request #17 from hackebrot/fix-test-failures
Browse files Browse the repository at this point in the history
Fix test failures for pytest 5.4.0 馃
  • Loading branch information
hackebrot committed May 16, 2020
2 parents 7c1b072 + 7c7c777 commit 435cb34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ def number():
def test_failed():
> assert "emoji" == "hello world"
E AssertionError: assert 'emoji' == 'hello world'
E - emoji
E + hello world
E - hello world
E + emoji
test_emoji_tests.py:5: AssertionError
```
Expand Down Expand Up @@ -288,8 +288,8 @@ def number():
def test_failed():
> assert "emoji" == "hello world"
E AssertionError: assert 'emoji' == 'hello world'
E - emoji
E + hello world
E - hello world
E + emoji
test_emoji_tests.py:5: AssertionError
```
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist = py36,py37,{py36,py37}-emoji,mypy,flake8
[testenv]
deps =
freezegun
pytest>=5.4.0
emoji: pytest-emoji
commands = pytest -v {posargs:tests}

Expand Down

0 comments on commit 435cb34

Please sign in to comment.