Skip to content

Commit

Permalink
Backport changes pyinstaller/pyinstaller#5291 (#65)
Browse files Browse the repository at this point in the history
New pytest markers were introduced in pyinstaller/pyinstaller#5291:

 - @pytest.mark.darwin (only runs on macOS)
 - @pytest.mark.linux (only runs on GNU/Linux)
 - @pytest.mark.win32 (only runs  on Windows)
  • Loading branch information
BoboTiG authored Oct 31, 2020
1 parent 16d54ab commit 1d00302
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/_pyinstaller_hooks_contrib/tests/test_libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import pytest

from PyInstaller.compat import is_darwin, is_win
from PyInstaller.utils.tests import importorskip, xfail, skipif_win
from PyInstaller.utils.tests import importorskip, xfail
from PyInstaller.utils.hooks import is_module_satisfies


Expand Down Expand Up @@ -252,7 +252,8 @@ def test_pinyin(pyi_builder):


@importorskip('uvloop')
@skipif_win
@pytest.mark.darwin
@pytest.mark.linux
def test_uvloop(pyi_builder):
pyi_builder.test_source("import uvloop")

Expand Down

0 comments on commit 1d00302

Please # to comment.