From 453e7f968977936a4fa662d739a2ed0dab79dcb8 Mon Sep 17 00:00:00 2001 From: Joseph H Kennedy Date: Fri, 16 Feb 2024 15:13:35 -0900 Subject: [PATCH] one more os->pathlib --- tests/integration/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_auth.py b/tests/integration/test_auth.py index d1bfae1e..a4879d12 100644 --- a/tests/integration/test_auth.py +++ b/tests/integration/test_auth.py @@ -30,7 +30,7 @@ def activate_netrc(): f.write( f"machine urs.earthdata.nasa.gov login {username} password {password}\n" ) - os.chmod(NETRC_PATH, 0o600) + NETRC_PATH.chmod(0o600) def delete_netrc():