File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 7
7
from upath .tests .cases import BaseTests
8
8
9
9
10
- @pytest .mark .skipif (not sys .platform == "linux" , reason = "Only linux " )
10
+ @pytest .mark .skipif (sys .platform . startswith ( "win" ) , reason = "Windows bad " )
11
11
@pytest .mark .usefixtures ("path" )
12
12
class TestGCSPath (BaseTests ):
13
13
@pytest .fixture (autouse = True , scope = "function" )
Original file line number Diff line number Diff line change 14
14
reason = "don't run test on Windows" ,
15
15
)
16
16
def test_posix_path (local_testdir ):
17
- print (type (UPath (local_testdir )))
18
17
assert isinstance (UPath (local_testdir ), pathlib .PosixPath )
19
18
20
19
@@ -191,8 +190,6 @@ def test_copy_path():
191
190
path = UPath ("gcs://bucket/folder" , anon = True )
192
191
copy_path = UPath (path )
193
192
194
- print (type (path ), type (copy_path ))
195
-
196
193
assert type (path ) == type (copy_path )
197
194
assert str (path ) == str (copy_path )
198
195
assert path ._drv == copy_path ._drv
You can’t perform that action at this time.
0 commit comments