File tree Expand file tree Collapse file tree
oss_src/unity/python/sframe/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import uuid
66import shutil
77import sys
8- import time
98
109import pickle
1110from ..util import cloudpickle
@@ -21,12 +20,8 @@ class GLPicklingTest(unittest.TestCase):
2120
2221 def setUp (self ):
2322 self .filename = str (uuid .uuid4 ())
24- self .dir_mode = False
2523
2624 def tearDown (self ):
27- if sys .platform == 'win32' :
28- time .sleep (1 ) # Allow other process to release file lock
29-
3025 if os .path .isdir (self .filename ):
3126 shutil .rmtree (self .filename )
3227 elif os .path .exists (self .filename ):
@@ -56,6 +51,8 @@ def test_pickling_simple_types(self):
5651 obj_ret = self ._load ()
5752 self .assertEqual (obj , obj_ret )
5853
54+ @unittest .skipIf (sys .platform == 'win32' and sys .version_info .major == 3 ,
55+ 'See: https://github.com/dato-code/SFrame/issues/176' )
5956 def test_pickling_sarray_types (self ):
6057
6158 sarray_list = [
@@ -105,6 +102,8 @@ def test_pickling_sgraph_types(self):
105102 assert_sframe_equal (obj .get_vertices (), obj_ret .get_vertices ())
106103 assert_sframe_equal (obj .get_edges (), obj_ret .get_edges ())
107104
105+ @unittest .skipIf (sys .platform == 'win32' and sys .version_info .major == 3 ,
106+ 'See: https://github.com/dato-code/SFrame/issues/176' )
108107 def test_combination_gl_python_types (self ):
109108
110109 sg_test_1 = SGraph ().add_vertices ([
You can’t perform that action at this time.
0 commit comments