Skip to content

kick py3.13#159

Open
tonyfast wants to merge 1 commit intomainfrom
tonyfast-p313
Open

kick py3.13#159
tonyfast wants to merge 1 commit intomainfrom
tonyfast-p313

Conversation

@tonyfast
Copy link
Member

No description provided.

@bollwyvl
Copy link
Contributor

A nickle fix for the current test issue:

diff --git a/docs/test_cli.py b/docs/test_cli.py
index 6111e0e..71c45a3 100644
--- a/docs/test_cli.py
+++ b/docs/test_cli.py
@@ -1,3 +1,4 @@
+import re
 from pathlib import Path
 from subprocess import check_call
 from sys import executable, path, version_info
@@ -44,7 +45,10 @@ def cli_test(command):
 
             if "UserWarning: Attempting to work in a virtualenv." in out:
                 out = "".join(out.splitlines(True)[2:])
-            assert out == match
+
+            out_stripped = re.sub(r"\s+", " ", out)
+            match_stripped = re.sub(r"\s+", " ", out)
+            assert out_stripped == match_stripped
 
         return wrapper

@bollwyvl bollwyvl mentioned this pull request Apr 4, 2025
31 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants