Skip to content

Commit 630bd4f

Browse files
committed
fix(sys.argv): support unicode [6] skip testing on windows & 3.7
1 parent 7ba6f17 commit 630bd4f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_exe.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
import os.path
15+
import platform
1516
import subprocess
17+
import sys
18+
19+
import pytest
1620

1721

1822
def test_exe__execute_an_non_exist_file(venv_exe):
@@ -85,6 +89,7 @@ def test_exe__sys_argv__more_arguments(venv_exe, pye_cli, tmpdir):
8589
assert output == f'{pye_path} -a -b -c'
8690

8791

92+
@pytest.mark.skipif(platform.system() == 'Windows' and sys.version_info < (3, 8), reason="Windows requires python3.8")
8893
def test_exe__sys_argv__in_unicode(venv_exe, pye_cli, tmpdir):
8994
# prepare
9095
pye_path = (

0 commit comments

Comments
 (0)