Skip to content

Commit f54d29f

Browse files
committed
Fix formatting
I somehow merged a malformatted PR earlier today. Let's fix the formatting first.
1 parent cd48b58 commit f54d29f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_main.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ def test_set_key_encoding(dotenv_path):
6161
assert dotenv_path.read_text(encoding=encoding) == "a='é'\n"
6262

6363

64-
@pytest.mark.skipif(os.geteuid() == 0, reason="Root user can access files even with 000 permissions.")
64+
@pytest.mark.skipif(
65+
os.geteuid() == 0, reason="Root user can access files even with 000 permissions."
66+
)
6567
def test_set_key_permission_error(dotenv_path):
6668
dotenv_path.chmod(0o000)
6769

@@ -168,7 +170,9 @@ def test_unset_encoding(dotenv_path):
168170
assert dotenv_path.read_text(encoding=encoding) == ""
169171

170172

171-
@pytest.mark.skipif(os.geteuid() == 0, reason="Root user can access files even with 000 permissions.")
173+
@pytest.mark.skipif(
174+
os.geteuid() == 0, reason="Root user can access files even with 000 permissions."
175+
)
172176
def test_set_key_unauthorized_file(dotenv_path):
173177
dotenv_path.chmod(0o000)
174178

0 commit comments

Comments
 (0)