-# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
-#
# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
# Test operation of the "if" shell command.
exec_hush_if(u_boot_console, expr, False)
try:
- with file(test_file, 'wb'):
+ with open(test_file, 'wb'):
pass
assert os.path.exists(test_file)