diff options
| author | Tom Rini <[email protected]> | 2019-10-24 11:59:20 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-10-30 17:48:47 -0400 |
| commit | fe1193e254faccc4e6629f1cfbc99d5ceb34428a (patch) | |
| tree | 73c71f3873328c3e194296da9b2554022703a416 /test/py/tests/test_fs | |
| parent | 3c941e048c824b94ae09fd9e1f91116f55ce0f1f (diff) | |
test/py: Automated conversion to Python 3
Use the 2to3 tool to perform numerous automatic conversions from Python
2 syntax to Python 3. Also fix whitespace problems that Python 3
catches that Python 2 did not.
Reviewed-by: Stephen Warren <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Stephen Warren <[email protected]>
Tested-by: Simon Glass <[email protected]> [on sandbox]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'test/py/tests/test_fs')
| -rw-r--r-- | test/py/tests/test_fs/conftest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/tests/test_fs/conftest.py b/test/py/tests/test_fs/conftest.py index 9324657d216..354d17672fe 100644 --- a/test/py/tests/test_fs/conftest.py +++ b/test/py/tests/test_fs/conftest.py @@ -508,8 +508,8 @@ def fs_obj_unlink(request, u_boot_config): # Test Case 2 check_call('mkdir %s/dir2' % mount_dir, shell=True) - for i in range(0, 20): - check_call('mkdir %s/dir2/0123456789abcdef%02x' + for i in range(0, 20): + check_call('mkdir %s/dir2/0123456789abcdef%02x' % (mount_dir, i), shell=True) # Test Case 4 |
