Skip to content

Commit 74d82cd

Browse files
committed
Fix formatting style
1 parent 9079baa commit 74d82cd

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/unit/sagemaker/test_studio.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,18 @@ def test_find_config_path_separators(tmpdir):
7171
base_path = str(tmpdir)
7272

7373
# Always include the OS native path and forward slashes (which are equivalent on all OS)
74-
paths = [os.path.join(base_path, "dir1", "dir2"),
75-
"/".join([base_path, "dir1", "dir2"])]
74+
paths = [os.path.join(base_path, "dir1", "dir2"), "/".join([base_path, "dir1", "dir2"])]
7675

7776
# Only on Windows add the backslashes and mixed separator test cases.
7877
if os.name == "nt":
79-
paths.extend([
80-
"\\".join([base_path, "dir1", "dir2"]),
81-
base_path + "/dir1\\dir2",
82-
])
78+
paths.extend(["\\".join([base_path, "dir1", "dir2"]), base_path + "/dir1\\dir2"])
8379

8480
for path in paths:
8581
os.makedirs(path, exist_ok=True)
8682
found_path = _find_config(path)
8783
assert found_path == config
8884

85+
8986
def test_find_config(tmpdir):
9087
path = tmpdir.join(".sagemaker-code-config")
9188
path.write('{"sagemakerProjectId": "proj-1234"}')

0 commit comments

Comments
 (0)