File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import os
22import glob
3- import pathlib
3+ from pathlib import Path
44import subprocess
55import sys
66
1111os .environ ["PYVISTA_OFF_SCREEN" ] = "true"
1212os .environ ["MPLBACKEND" ] = "Agg"
1313
14- actual_path = pathlib . Path (__file__ ).parent .absolute ()
14+ actual_path = Path (__file__ ).parent .absolute ()
1515examples_path = actual_path .parent / "examples"
1616print (examples_path )
1717
2121server .shutdown ()
2222print (f"Server version: { server_version } " )
2323
24- for root , subdirectories , files in examples_path .walk ():
24+ for root , subdirectories , files in os .walk (examples_path ):
2525 for subdirectory in subdirectories :
26- subdir = root / subdirectory
26+ subdir = Path ( root ) / subdirectory
2727 for file in glob .iglob (str (subdir / "*.py" )):
2828 if sys .platform == "linux" and "08-python-operators" in file :
2929 continue
You can’t perform that action at this time.
0 commit comments