@@ -63,7 +63,7 @@ def common_directory(
63
63
part of the directory tree that is common to all the directories
64
64
65
65
Examples:
66
- .. skip: start if(platform.system == "Windows")
66
+ .. skip: start if(platform.system() == "Windows")
67
67
68
68
>>> paths = [
69
69
... "/home/user1/tmp/coverage/test",
@@ -501,7 +501,7 @@ def list_dir_names(
501
501
FileNotFoundError: if path does not exists
502
502
503
503
Examples:
504
- .. skip: start if(platform.system == "Windows")
504
+ .. skip: start if(platform.system() == "Windows")
505
505
506
506
>>> path = audeer.path("path")
507
507
>>> _ = mkdir(path, "a", ".b", "c")
@@ -570,7 +570,7 @@ def list_file_names(
570
570
and ``os.dirname(path)`` does not exist
571
571
572
572
Examples:
573
- .. skip: start if(platform.system == "Windows")
573
+ .. skip: start if(platform.system() == "Windows")
574
574
575
575
>>> dir_path = audeer.mkdir("path")
576
576
>>> _ = audeer.touch(dir_path, "file.wav")
@@ -988,7 +988,7 @@ def script_dir() -> str:
988
988
current directory of caller
989
989
990
990
Examples:
991
- .. skip: next if(platform.system == "Windows")
991
+ .. skip: next if(platform.system() == "Windows")
992
992
993
993
>>> audeer.script_dir() # location of this file
994
994
'...audeer/core'
0 commit comments