diff --git a/src/scriv/gitinfo.py b/src/scriv/gitinfo.py index d4d47ee..e73de52 100644 --- a/src/scriv/gitinfo.py +++ b/src/scriv/gitinfo.py @@ -88,6 +88,7 @@ def get_github_repo() -> Optional[str]: github_repos = set() for url in urls: m = re.search(r"github.com[:/]([^/]+/.+)\.git", url) + print("debug: urls is:", url, "", sep="\n") if m: github_repos.add(m[1]) if len(github_repos) == 1: diff --git a/tests/test_literals.py b/tests/test_literals.py index 1864d28..d1c0c61 100644 --- a/tests/test_literals.py +++ b/tests/test_literals.py @@ -141,7 +141,7 @@ def test_find_yaml_literal(name, value, temp_dir): assert find_literal("foo.yml", name) == value -#def test_find_yaml_literal_fail_if_unavailable(monkeypatch): +# def test_find_yaml_literal_fail_if_unavailable(monkeypatch): # monkeypatch.setattr(scriv.literals, "yaml", None) # with pytest.raises(Exception, match="Can't read .+ without YAML support"): # find_literal("foo.yml", "fail")