pathlib tests: create walk() test hierarchy without using class under test
#128338
+58
−39
walk() test hierarchy without using class under test
#128338