File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
client/configuration/tests Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ def test_command_line_argument(self) -> None:
8585 "foo$bar" ,
8686 )
8787
88- Path .mkdir (Path ("foo" ))
89- Path .mkdir (Path ("foo/bar-1.0.0.dist-info" ))
90- Path .touch (Path ("foo/bar.py" ))
88+ Path .mkdir (Path ("foo" ), exist_ok = True )
89+ Path .mkdir (Path ("foo/bar-1.0.0.dist-info" ), exist_ok = True )
90+ Path .touch (Path ("foo/bar.py" ), exist_ok = True )
9191
9292 with open ("foo/bar-1.0.0.dist-info/RECORD" , "w" , encoding = "UTF-8" ) as f :
9393 f .write ("bar.py" )
@@ -251,9 +251,9 @@ def test_process_required_raw_elements_site_package_nonexistence(self) -> None:
251251 )
252252
253253 def test_toplevel_module_not_pyfile (self ):
254- Path .mkdir (Path ("foo" ))
255- Path .mkdir (Path ("foo/bar-1.0.0.dist-info" ))
256- Path .touch (Path ("foo/bar.so" ))
254+ Path .mkdir (Path ("foo" ), exist_ok = True )
255+ Path .mkdir (Path ("foo/bar-1.0.0.dist-info" ), exist_ok = True )
256+ Path .touch (Path ("foo/bar.so" ), exist_ok = True )
257257
258258 with open ("foo/bar-1.0.0.dist-info/RECORD" , "w" , encoding = "UTF-8" ) as f :
259259 f .write ("bar.so" )
You can’t perform that action at this time.
0 commit comments