##// END OF EJS Templates
more agressive skip on windows
Matthias Bussonnier -
Show More
@@ -19,6 +19,8 b' from unittest import TestCase, mock'
19 19
20 20 import nose.tools as nt
21 21
22 import pytest
23
22 24 from IPython import get_ipython
23 25 from IPython.core import magic
24 26 from IPython.core.error import UsageError
@@ -951,6 +953,9 b' def test_script_config():'
951 953
952 954 @dec.skip_iptest_but_not_pytest
953 955 @dec.skip_win32
956 @pytest.mark.skipif(
957 sys.platform == "win32", reason="This test does not run under Windows"
958 )
954 959 def test_script_out():
955 960 assert asyncio.get_event_loop().is_running() is False
956 961
@@ -961,6 +966,9 b' def test_script_out():'
961 966
962 967 @dec.skip_iptest_but_not_pytest
963 968 @dec.skip_win32
969 @pytest.mark.skipif(
970 sys.platform == "win32", reason="This test does not run under Windows"
971 )
964 972 def test_script_err():
965 973 ip = get_ipython()
966 974 assert asyncio.get_event_loop().is_running() is False
@@ -971,6 +979,9 b' def test_script_err():'
971 979
972 980 @dec.skip_iptest_but_not_pytest
973 981 @dec.skip_win32
982 @pytest.mark.skipif(
983 sys.platform == "win32", reason="This test does not run under Windows"
984 )
974 985 def test_script_out_err():
975 986
976 987 ip = get_ipython()
@@ -983,6 +994,9 b' def test_script_out_err():'
983 994
984 995 @dec.skip_iptest_but_not_pytest
985 996 @dec.skip_win32
997 @pytest.mark.skipif(
998 sys.platform == "win32", reason="This test does not run under Windows"
999 )
986 1000 async def test_script_bg_out():
987 1001 ip = get_ipython()
988 1002 ip.run_cell_magic("script", "--bg --out output sh", "echo 'hi'")
@@ -992,6 +1006,9 b' async def test_script_bg_out():'
992 1006
993 1007 @dec.skip_iptest_but_not_pytest
994 1008 @dec.skip_win32
1009 @pytest.mark.skipif(
1010 sys.platform == "win32", reason="This test does not run under Windows"
1011 )
995 1012 async def test_script_bg_err():
996 1013 ip = get_ipython()
997 1014 ip.run_cell_magic("script", "--bg --err error sh", "echo 'hello' >&2")
@@ -1001,6 +1018,9 b' async def test_script_bg_err():'
1001 1018
1002 1019 @dec.skip_iptest_but_not_pytest
1003 1020 @dec.skip_win32
1021 @pytest.mark.skipif(
1022 sys.platform == "win32", reason="This test does not run under Windows"
1023 )
1004 1024 async def test_script_bg_out_err():
1005 1025 ip = get_ipython()
1006 1026 ip.run_cell_magic(
General Comments 0
You need to be logged in to leave comments. Login now