GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com # This module is part of GitPython and is released under the
# 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/
"""Tests for static characteristics of remote progress helpers."""
from typing import AnyStr
from git import RemoteProgress
def test_parse_progress_line_override_can_return_non_none() -> None:
"""Subclass overrides may return a value without violating base typing."""
class ReturningProgress(RemoteProgress):
def _parse_progress_line(self, line: AnyStr) -> str:
super()._parse_progress_line(line)
return "handled"
assert ReturningProgress()._parse_progress_line("unmatched progress") == "handled"
|
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |