Skip to content
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
fail-fast: true

matrix:
os: [ubuntu-latest, macos-latest]
pyv: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest]
pyv: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14","3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 10 additions & 1 deletion tests/test_sshfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,16 @@
_STATIC = (Path(__file__).parent / "static").resolve()
USERS = {"user": _STATIC / "user.key"}

DEVIATION = 5

class approx_datetime(ApproxBase):
def __init__(self, expected, abs=1):
super().__init__(expected, abs=timedelta(seconds=abs))

def __repr__(self):
return f"approx_datetime({self.expected!r} ± {self.abs!r})"

def __eq__(self, actual):
return abs(self.expected - actual) <= self.abs
Comment thread
skshetry marked this conversation as resolved.
Outdated


@pytest.fixture(scope="session")
Expand Down
Loading