Skip to content

Commit fa890e8

Browse files
committed
Update test documentation for Windows UNC paths in test_windows_compatibility.py
- Changed the docstring to use a raw string literal for better handling of backslashes in UNC path examples. - Clarified the description of UNC paths to ensure accurate representation of their format. These updates improve the clarity and correctness of the test documentation.
1 parent 403d31b commit fa890e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_windows_compatibility.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,9 @@ def test_windows_logfile_with_spaces(self) -> None:
682682
assert '-l "C:/Program Files/PostgreSQL/logs/my log file.log"' in command
683683

684684
def test_windows_unc_paths(self) -> None:
685-
"""Test Windows UNC (Universal Naming Convention) paths.
685+
r"""Test Windows UNC (Universal Naming Convention) paths.
686686
687-
UNC paths like \\\\server\\share should be properly handled on Windows.
687+
UNC paths like \\server\share should be properly handled on Windows.
688688
"""
689689
with patch("pytest_postgresql.executor.platform.system", return_value="Windows"):
690690
executor = PostgreSQLExecutor(

0 commit comments

Comments
 (0)