6
6
from __future__ import print_function , division , unicode_literals , absolute_import
7
7
from builtins import range , open
8
8
9
- import os
9
+ import os , sys
10
10
from copy import deepcopy
11
11
from shutil import rmtree
12
12
import pytest
@@ -343,6 +343,8 @@ def dummy_func(value):
343
343
return value + 1
344
344
345
345
346
+ @pytest .mark .skipif (sys .version_info < (3 ,0 ),
347
+ reason = "the famous segfault #1788" )
346
348
def test_mapnode_crash (tmpdir ):
347
349
"""Test mapnode crash when stop_on_first_crash is True"""
348
350
cwd = os .getcwd ()
@@ -360,6 +362,8 @@ def test_mapnode_crash(tmpdir):
360
362
os .chdir (cwd )
361
363
362
364
365
+ @pytest .mark .skipif (sys .version_info < (3 ,0 ),
366
+ reason = "the famous segfault #1788" )
363
367
def test_mapnode_crash2 (tmpdir ):
364
368
"""Test mapnode crash when stop_on_first_crash is False"""
365
369
cwd = os .getcwd ()
@@ -376,6 +380,8 @@ def test_mapnode_crash2(tmpdir):
376
380
os .chdir (cwd )
377
381
378
382
383
+ @pytest .mark .skipif (sys .version_info < (3 ,0 ),
384
+ reason = "the famous segfault #1788" )
379
385
def test_mapnode_crash3 (tmpdir ):
380
386
"""Test mapnode crash when mapnode is embedded in a workflow"""
381
387
node = pe .MapNode (niu .Function (input_names = ['WRONG' ],
0 commit comments