Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy-3.11", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["pypy-3.11", "graalpy-25.0", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
Expand Down
10 changes: 6 additions & 4 deletions tests/test_arrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,7 @@ def test_all_parameters_specified(self):
@pytest.mark.usefixtures("time_2013_01_01")
class TestArrowHumanize:
def test_granularity(self):
assert self.now.humanize(granularity="second") == "just now"
assert self.now.humanize(self.now, granularity="second") == "just now"

later1 = self.now.shift(seconds=1)
assert self.now.humanize(later1, granularity="second") == "just now"
Expand Down Expand Up @@ -2038,10 +2038,12 @@ def test_granularity(self):
self.now.humanize(later108, granularity="years")

def test_multiple_granularity(self):
assert self.now.humanize(granularity="second") == "just now"
assert self.now.humanize(granularity=["second"]) == "just now"
assert self.now.humanize(self.now, granularity="second") == "just now"
assert self.now.humanize(self.now, granularity=["second"]) == "just now"
assert (
self.now.humanize(granularity=["year", "month", "day", "hour", "second"])
self.now.humanize(
self.now, granularity=["year", "month", "day", "hour", "second"]
)
== "in 0 years 0 months 0 days 0 hours and 0 seconds"
)

Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[tox]
minversion = 3.18.0
envlist = py{py3,38,39,310,311,312,313,314}
envlist = py{py3,38,39,310,311,312,313,314},graalpy
skip_missing_interpreters = true

[gh-actions]
python =
pypy-3.11: pypy3
graalpy-25.0: graalpy
3.8: py38
3.9: py39
3.10: py310
Expand Down
Loading