Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kick py3.13 #159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

kick py3.13 #159

wants to merge 1 commit into from

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

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