Skip to content

Commit

Permalink
add funding, skip intermittent test unless linux
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jan 30, 2021
1 parent be75984 commit bf89db5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: samuelcolvin
2 changes: 2 additions & 0 deletions tests/test_watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

pytestmark = pytest.mark.asyncio
skip_on_windows = pytest.mark.skipif(sys.platform == 'win32', reason='fails on windows')
skip_unless_linux = pytest.mark.skipif(sys.platform != 'linux', reason='test only on linux')
tree = {
'foo': {
'bar.txt': 'bar',
Expand Down Expand Up @@ -354,6 +355,7 @@ def check(self):
assert ans == []


@skip_unless_linux
async def test_awatch_log(mocker, caplog):
mock_log_enabled = mocker.patch('watchgod.main.logger.isEnabledFor')
mock_log_enabled.return_value = True
Expand Down

0 comments on commit bf89db5

Please sign in to comment.