Skip to content

Commit 8977ce3

Browse files
committed
chore: better name
1 parent ef594db commit 8977ce3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cuda_bindings/tests/test_cufile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ def isSupportedFilesystem():
102102
try:
103103
current_dir = os.getcwd()
104104
# Try to get filesystem type from /proc/mounts
105-
mount = find_mount_point(current_dir)
106-
assert mount is not None
105+
curdir_mount = find_mount_point(current_dir)
106+
assert curdir_mount is not None
107107
with open("/proc/mounts") as f:
108108
for line in f:
109109
parts = line.split()
@@ -112,7 +112,7 @@ def isSupportedFilesystem():
112112
fs_type = parts[2]
113113

114114
# Check if current directory is under this mount point
115-
if mount == mount_point:
115+
if curdir_mount == mount_point:
116116
fs_type_lower = fs_type.lower()
117117
logging.info(f"Current filesystem type: {fs_type_lower}")
118118
if fs_type_lower in ("ext4", "xfs"):

0 commit comments

Comments
 (0)