Skip to content

Commit e950ce7

Browse files
committed
test for mac
1 parent ff2a978 commit e950ce7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/paddle/fluid/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ def __bootstrap__():
119119
'eager_delete_tensor_gb', 'allocator_strategy',
120120
'reader_queue_speed_test_mode', 'print_sub_graph_dir'
121121
]
122-
if sysstr != 'Darwin':
122+
if 'Darwin' not in sysstr:
123+
print("aaaaa")
123124
read_env_flags.append('use_pinned_memory')
124125

125126
if os.name != 'nt':

0 commit comments

Comments
 (0)