File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1515import math
1616import os
1717import time
18-
19- import pytest
18+ import unittest
2019
2120import fs .copy
2221import fs .move
@@ -1797,7 +1796,7 @@ def test_tree(self):
17971796
17981797 def test_unicode_path (self ):
17991798 if not self .fs .getmeta ().get ("unicode_paths" , False ):
1800- return pytest . skip ("the filesystem does not support unicode paths." )
1799+ raise unittest . SkipTest ("the filesystem does not support unicode paths." )
18011800
18021801 self .fs .makedir ("földér" )
18031802 self .fs .writetext ("☭.txt" , "Smells like communism." )
@@ -1820,10 +1819,10 @@ def test_unicode_path(self):
18201819 def test_case_sensitive (self ):
18211820 meta = self .fs .getmeta ()
18221821 if "case_insensitive" not in meta :
1823- return pytest . skip ("case sensitivity not known" )
1822+ raise unittest . SkipTest ("case sensitivity not known" )
18241823
18251824 if meta .get ("case_insensitive" , False ):
1826- return pytest . skip ("the filesystem is not case sensitive." )
1825+ raise unittest . SkipTest ("the filesystem is not case sensitive." )
18271826
18281827 self .fs .makedir ("foo" )
18291828 self .fs .makedir ("Foo" )
You can’t perform that action at this time.
0 commit comments