Merge pull request #369 from berkerpeksag/skip-test

Explicitly skip the skipped test in test_bin.
This commit is contained in:
Morten Linderud 2013-12-11 08:10:30 -08:00
commit bf838619f1

View File

@ -24,6 +24,8 @@ import os
import subprocess import subprocess
import sys import sys
from nose.plugins.skip import SkipTest
def run_cmd(cmd, stdin_data=None): def run_cmd(cmd, stdin_data=None):
p = subprocess.Popen(cmd, p = subprocess.Popen(cmd,
@ -122,7 +124,7 @@ def test_hy2py():
# and running this script this way doesn't work on Windows # and running this script this way doesn't work on Windows
if os.name == "nt": if os.name == "nt":
return raise SkipTest("doesn't work on Windows")
i = 0 i = 0
for dirpath, dirnames, filenames in os.walk("tests/native_tests"): for dirpath, dirnames, filenames in os.walk("tests/native_tests"):