codecov[bot]: # [Codecov](https://codecov.io/gh/arrow-py/arrow/pull/845?src=pr&el=h1) Report
> Merging [#845](https://codecov.io/gh/arrow-py/arrow/pull/845?src=pr&el=desc) into [master](https://codecov.io/gh/arrow-py/arrow/commit/3807a1639319f341d7b16fe26bd413ef25b857c8?el=desc) will **not change** coverage.
> The diff coverage is `100.00%`.

[![Impacted file tree graph](https://codecov.io/gh/arrow-py/arrow/pull/845/graphs/tree.svg?width=650&height=150&src=pr&token=4EkGnFsIGn)](https://codecov.io/gh/arrow-py/arrow/pull/845?src=pr&el=tree)

```diff
@@            Coverage Diff            @@
##            master      #845   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         1785      1790    +5     
  Branches       307       308    +1     
=========================================
+ Hits          1785      1790    +5     
```


| [Impacted Files](https://codecov.io/gh/arrow-py/arrow/pull/845?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [arrow/arrow.py](https://codecov.io/gh/arrow-py/arrow/pull/845/diff?src=pr&el=tree#diff-YXJyb3cvYXJyb3cucHk=) | `100.00% <100.00%> (ø)` | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/arrow-py/arrow/pull/845?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/arrow-py/arrow/pull/845?src=pr&el=footer). Last update [3807a16...78f00a6](https://codecov.io/gh/arrow-py/arrow/pull/845?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

systemcatch: > First pass looks solid. Is this seriously all the places where we need to cover imaginary dates/times?

I think so, by fixing `shift` we can use it in `range` and `span` which then propagate to other methods.

> Does this address https://github.com/arrow-py/arrow/issues/686 as well? If so, we should add a regression test for it.

No and looking at it I don't think that issue can be fixed in arrow. Those comparison results are baked into datetime itself.
systemcatch: @pganssle any thoughts to add here?
systemcatch: > Should we also resolve imaginary datetimes if they are constructed via the `arrow.get` or `arrow.Arrow`?

I tend to think not as `datetime` lets you construct imaginary instances directly. Users might have a reason for needing them and with the new `imaginary` property it's easy to check it
systemcatch: Hey @jadchaar I've made the change you suggested, let me know if you're happy and I will merge this in.
jadchaar: Looks great! Ship it!
diff --git a/arrow/arrow.py b/arrow/arrow.py
index 8c442c9..79b64a4 100644
--- a/arrow/arrow.py
+++ b/arrow/arrow.py
@@ -381,7 +381,7 @@ class Arrow(object):
             yield current
 
             values = [getattr(current, f) for f in cls._ATTRS]
-            current = cls(*values, tzinfo=tzinfo) + relativedelta(
+            current = cls(*values, tzinfo=tzinfo).shift(
                 **{frame_relative: relative_steps}
             )
 
@@ -439,17 +439,17 @@ class Arrow(object):
         floor = self.__class__(*values, tzinfo=self.tzinfo)
 
         if frame_absolute == "week":
-            floor = floor + relativedelta(days=-(self.isoweekday() - 1))
+            floor = floor.shift(days=-(self.isoweekday() - 1))
         elif frame_absolute == "quarter":
-            floor = floor + relativedelta(months=-((self.month - 1) % 3))
+            floor = floor.shift(months=-((self.month - 1) % 3))
 
-        ceil = floor + relativedelta(**{frame_relative: count * relative_steps})
+        ceil = floor.shift(**{frame_relative: count * relative_steps})
 
         if bounds[0] == "(":
-            floor += relativedelta(microseconds=1)
+            floor = floor.shift(microseconds=+1)
 
         if bounds[1] == ")":
-            ceil += relativedelta(microseconds=-1)
+            ceil = ceil.shift(microseconds=-1)
 
         return floor, ceil
 
@@ -718,11 +718,17 @@ class Arrow(object):
 
     @property
     def ambiguous(self):
-        """ Returns a boolean indicating whether the :class:`Arrow <arrow.arrow.Arrow>` object is ambiguous"""
+        """ Returns a boolean indicating whether the :class:`Arrow <arrow.arrow.Arrow>` object is ambiguous."""
 
         return dateutil_tz.datetime_ambiguous(self._datetime)
 
-    # mutation and duplication
+    @property
+    def imaginary(self):
+        """Indicates whether the :class: `Arrow <arrow.arrow.Arrow>` object exists in the current timezone."""
+
+        return not dateutil_tz.datetime_exists(self._datetime)
+
+    # mutation and duplication.
 
     def clone(self):
         """Returns a new :class:`Arrow <arrow.arrow.Arrow>` object, cloned from the current one.
@@ -836,6 +842,9 @@ class Arrow(object):
 
         current = self._datetime + relativedelta(**relative_kwargs)
 
+        if not dateutil_tz.datetime_exists(current):
+            current = dateutil_tz.resolve_imaginary(current)
+
         return self.fromdatetime(current)
 
     def to(self, tz):

Wrong result when a shift involves a DST change.
In paris in 2013, we changed to DST in 2013-03-31 (at 2 AM it was 3 AM), from UTC+1 to UTC+2 (DST)

Here's an example of the issue I have with arrow : 

``` python
>>> import arrow, datetime

>>> just_before = arrow.get(datetime.datetime(2013, 03, 31, 1, 50, 45), "Europe/Paris").ceil("hour")
>>> just_before
<Arrow [2013-03-31T01:59:59.999999+01:00]>

>>> just_after = just_before.replace(microseconds=+1)
>>> just_after
<Arrow [2013-03-31T02:00:00+02:00]>
>>> # That is not right... It should be either 2 AM UTC+1 or preferably  3AM UTC +2
>>> # One could argue that depending on what you ask for, it may be the correct answer, but then the following is :

>>> (just_after - just_before).total_seconds()
1e-06
>>> # That is right but not consistent with the dates

>>> (just_after.to("utc") - just_before.to("utc").total_seconds()
-3599.999999
# That should be the same value as the previous computation. Plus, the value is negative because :

>>> just_before.to('utc'), just_after.to('utc')
(<Arrow [2013-03-31T00:59:59.999999+00:00]>,
 <Arrow [2013-03-31T00:00:00+00:00]>)
```

I think the problem is pretty clear...

diff --git a/tests/test_arrow.py b/tests/test_arrow.py
index 3268a9a..6fda5ca 100644
--- a/tests/test_arrow.py
+++ b/tests/test_arrow.py
@@ -7,6 +7,7 @@ import sys
 import time
 from datetime import date, datetime, timedelta
 
+import dateutil
 import pytest
 import pytz
 import simplejson as json
@@ -310,6 +311,14 @@ class TestArrowAttribute:
 
         assert ambiguous_dt.ambiguous
 
+    def test_getattr_imaginary(self):
+
+        assert not self.now.imaginary
+
+        imaginary_dt = arrow.Arrow(2013, 3, 31, 2, 30, tzinfo="Europe/Paris")
+
+        assert imaginary_dt.imaginary
+
 
 @pytest.mark.usefixtures("time_utcnow")
 class TestArrowComparison:
@@ -838,6 +847,82 @@ class TestArrowShift:
             2013, 5, 5, 12, 30, 45, 1
         )
 
+    def test_shift_positive_imaginary(self):
+
+        # Avoid shifting into imaginary datetimes, take into account DST and other timezone changes.
+
+        new_york = arrow.Arrow(2017, 3, 12, 1, 30, tzinfo="America/New_York")
+        assert new_york.shift(hours=+1) == arrow.Arrow(
+            2017, 3, 12, 3, 30, tzinfo="America/New_York"
+        )
+
+        # pendulum example
+        paris = arrow.Arrow(2013, 3, 31, 1, 50, tzinfo="Europe/Paris")
+        assert paris.shift(minutes=+20) == arrow.Arrow(
+            2013, 3, 31, 3, 10, tzinfo="Europe/Paris"
+        )
+
+        canberra = arrow.Arrow(2018, 10, 7, 1, 30, tzinfo="Australia/Canberra")
+        assert canberra.shift(hours=+1) == arrow.Arrow(
+            2018, 10, 7, 3, 30, tzinfo="Australia/Canberra"
+        )
+
+        kiev = arrow.Arrow(2018, 3, 25, 2, 30, tzinfo="Europe/Kiev")
+        assert kiev.shift(hours=+1) == arrow.Arrow(
+            2018, 3, 25, 4, 30, tzinfo="Europe/Kiev"
+        )
+
+        # Edge case, the entire day of 2011-12-30 is imaginary in this zone!
+        apia = arrow.Arrow(2011, 12, 29, 23, tzinfo="Pacific/Apia")
+        assert apia.shift(hours=+2) == arrow.Arrow(
+            2011, 12, 31, 1, tzinfo="Pacific/Apia"
+        )
+
+    def test_shift_negative_imaginary(self):
+
+        new_york = arrow.Arrow(2011, 3, 13, 3, 30, tzinfo="America/New_York")
+        assert new_york.shift(hours=-1) == arrow.Arrow(
+            2011, 3, 13, 3, 30, tzinfo="America/New_York"
+        )
+        assert new_york.shift(hours=-2) == arrow.Arrow(
+            2011, 3, 13, 1, 30, tzinfo="America/New_York"
+        )
+
+        london = arrow.Arrow(2019, 3, 31, 2, tzinfo="Europe/London")
+        assert london.shift(hours=-1) == arrow.Arrow(
+            2019, 3, 31, 2, tzinfo="Europe/London"
+        )
+        assert london.shift(hours=-2) == arrow.Arrow(
+            2019, 3, 31, 0, tzinfo="Europe/London"
+        )
+
+        # edge case, crossing the international dateline
+        apia = arrow.Arrow(2011, 12, 31, 1, tzinfo="Pacific/Apia")
+        assert apia.shift(hours=-2) == arrow.Arrow(
+            2011, 12, 31, 23, tzinfo="Pacific/Apia"
+        )
+
+    @pytest.mark.skipif(
+        dateutil.__version__ < "2.7.1", reason="old tz database (2018d needed)"
+    )
+    def test_shift_kiritimati(self):
+        # corrected 2018d tz database release, will fail in earlier versions
+
+        kiritimati = arrow.Arrow(1994, 12, 30, 12, 30, tzinfo="Pacific/Kiritimati")
+        assert kiritimati.shift(days=+1) == arrow.Arrow(
+            1995, 1, 1, 12, 30, tzinfo="Pacific/Kiritimati"
+        )
+
+    @pytest.mark.skipif(
+        sys.version_info < (3, 6), reason="unsupported before python 3.6"
+    )
+    def shift_imaginary_seconds(self):
+        # offset has a seconds component
+        monrovia = arrow.Arrow(1972, 1, 6, 23, tzinfo="Africa/Monrovia")
+        assert monrovia.shift(hours=+1, minutes=+30) == arrow.Arrow(
+            1972, 1, 7, 1, 14, 30, tzinfo="Africa/Monrovia"
+        )
+
 
 class TestArrowRange:
     def test_year(self):
@@ -1027,6 +1112,18 @@ class TestArrowRange:
         for r in result:
             assert r.tzinfo == tz.gettz("US/Central")
 
+    def test_imaginary(self):
+        # issue #72, avoid duplication in utc column
+
+        before = arrow.Arrow(2018, 3, 10, 23, tzinfo="US/Pacific")
+        after = arrow.Arrow(2018, 3, 11, 4, tzinfo="US/Pacific")
+
+        pacific_range = [t for t in arrow.Arrow.range("hour", before, after)]
+        utc_range = [t.to("utc") for t in arrow.Arrow.range("hour", before, after)]
+
+        assert len(pacific_range) == len(set(pacific_range))
+        assert len(utc_range) == len(set(utc_range))
+
     def test_unsupported(self):
 
         with pytest.raises(AttributeError):

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
-e git+https://github.com/arrow-py/arrow.git@80aa80c0ebbffa17bf07ff668a1512653367ae92#egg=arrow
coverage==7.8.0
dateparser==0.7.6
exceptiongroup==1.2.2
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-cov==2.10.1
python-dateutil==2.8.2
pytz==2019.3
regex==2024.11.6
simplejson==3.17.6
six==1.17.0
tomli==2.2.1
tzlocal==5.3.1

name: arrow
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - coverage==7.8.0
      - dateparser==0.7.6
      - exceptiongroup==1.2.2
      - iniconfig==2.1.0
      - packaging==24.2
      - pluggy==1.5.0
      - pytest==8.3.5
      - pytest-cov==2.10.1
      - python-dateutil==2.8.2
      - pytz==2019.3
      - regex==2024.11.6
      - simplejson==3.17.6
      - six==1.17.0
      - tomli==2.2.1
      - tzlocal==5.3.1
prefix: /opt/conda/envs/arrow

tests/test_arrow.py::TestArrowAttribute::test_getattr_imaginary tests/test_arrow.py::TestArrowShift::test_shift_positive_imaginary tests/test_arrow.py::TestArrowShift::test_shift_negative_imaginary tests/test_arrow.py::TestArrowShift::test_shift_kiritimati tests/test_arrow.py::TestArrowRange::test_imaginary
tests/test_arrow.py::TestTestArrowInit::test_init_bad_input tests/test_arrow.py::TestTestArrowInit::test_init tests/test_arrow.py::TestTestArrowInit::test_init_pytz_timezone tests/test_arrow.py::TestTestArrowInit::test_init_with_fold tests/test_arrow.py::TestTestArrowFactory::test_now tests/test_arrow.py::TestTestArrowFactory::test_utcnow tests/test_arrow.py::TestTestArrowFactory::test_fromtimestamp tests/test_arrow.py::TestTestArrowFactory::test_utcfromtimestamp tests/test_arrow.py::TestTestArrowFactory::test_fromdatetime tests/test_arrow.py::TestTestArrowFactory::test_fromdatetime_dt_tzinfo tests/test_arrow.py::TestTestArrowFactory::test_fromdatetime_tzinfo_arg tests/test_arrow.py::TestTestArrowFactory::test_fromdate tests/test_arrow.py::TestTestArrowFactory::test_strptime tests/test_arrow.py::TestTestArrowRepresentation::test_repr tests/test_arrow.py::TestTestArrowRepresentation::test_str tests/test_arrow.py::TestTestArrowRepresentation::test_hash tests/test_arrow.py::TestTestArrowRepresentation::test_format tests/test_arrow.py::TestTestArrowRepresentation::test_bare_format tests/test_arrow.py::TestTestArrowRepresentation::test_format_no_format_string tests/test_arrow.py::TestTestArrowRepresentation::test_clone tests/test_arrow.py::TestArrowAttribute::test_getattr_base tests/test_arrow.py::TestArrowAttribute::test_getattr_week tests/test_arrow.py::TestArrowAttribute::test_getattr_quarter tests/test_arrow.py::TestArrowAttribute::test_getattr_dt_value tests/test_arrow.py::TestArrowAttribute::test_tzinfo tests/test_arrow.py::TestArrowAttribute::test_naive tests/test_arrow.py::TestArrowAttribute::test_timestamp tests/test_arrow.py::TestArrowAttribute::test_float_timestamp tests/test_arrow.py::TestArrowAttribute::test_getattr_fold tests/test_arrow.py::TestArrowAttribute::test_getattr_ambiguous tests/test_arrow.py::TestArrowComparison::test_eq tests/test_arrow.py::TestArrowComparison::test_ne tests/test_arrow.py::TestArrowComparison::test_gt tests/test_arrow.py::TestArrowComparison::test_ge tests/test_arrow.py::TestArrowComparison::test_lt tests/test_arrow.py::TestArrowComparison::test_le tests/test_arrow.py::TestArrowMath::test_add_timedelta tests/test_arrow.py::TestArrowMath::test_add_other tests/test_arrow.py::TestArrowMath::test_radd tests/test_arrow.py::TestArrowMath::test_sub_timedelta tests/test_arrow.py::TestArrowMath::test_sub_datetime tests/test_arrow.py::TestArrowMath::test_sub_arrow tests/test_arrow.py::TestArrowMath::test_sub_other tests/test_arrow.py::TestArrowMath::test_rsub_datetime tests/test_arrow.py::TestArrowMath::test_rsub_other tests/test_arrow.py::TestArrowDatetimeInterface::test_date tests/test_arrow.py::TestArrowDatetimeInterface::test_time tests/test_arrow.py::TestArrowDatetimeInterface::test_timetz tests/test_arrow.py::TestArrowDatetimeInterface::test_astimezone tests/test_arrow.py::TestArrowDatetimeInterface::test_utcoffset tests/test_arrow.py::TestArrowDatetimeInterface::test_dst tests/test_arrow.py::TestArrowDatetimeInterface::test_timetuple tests/test_arrow.py::TestArrowDatetimeInterface::test_utctimetuple tests/test_arrow.py::TestArrowDatetimeInterface::test_toordinal tests/test_arrow.py::TestArrowDatetimeInterface::test_weekday tests/test_arrow.py::TestArrowDatetimeInterface::test_isoweekday tests/test_arrow.py::TestArrowDatetimeInterface::test_isocalendar tests/test_arrow.py::TestArrowDatetimeInterface::test_isoformat tests/test_arrow.py::TestArrowDatetimeInterface::test_simplejson tests/test_arrow.py::TestArrowDatetimeInterface::test_ctime tests/test_arrow.py::TestArrowDatetimeInterface::test_strftime tests/test_arrow.py::TestArrowFalsePositiveDst::test_dst tests/test_arrow.py::TestArrowConversion::test_to tests/test_arrow.py::TestArrowConversion::test_to_pacific_then_utc tests/test_arrow.py::TestArrowConversion::test_to_amsterdam_then_utc tests/test_arrow.py::TestArrowConversion::test_to_israel_same_offset tests/test_arrow.py::TestArrowConversion::test_anchorage_dst tests/test_arrow.py::TestArrowConversion::test_chicago_fall tests/test_arrow.py::TestArrowConversion::test_toronto_gap tests/test_arrow.py::TestArrowConversion::test_sydney_gap tests/test_arrow.py::TestArrowPickling::test_pickle_and_unpickle tests/test_arrow.py::TestArrowReplace::test_not_attr tests/test_arrow.py::TestArrowReplace::test_replace tests/test_arrow.py::TestArrowReplace::test_replace_tzinfo tests/test_arrow.py::TestArrowReplace::test_replace_fold tests/test_arrow.py::TestArrowReplace::test_replace_fold_and_other tests/test_arrow.py::TestArrowReplace::test_replace_week tests/test_arrow.py::TestArrowReplace::test_replace_quarter tests/test_arrow.py::TestArrowReplace::test_replace_quarter_and_fold tests/test_arrow.py::TestArrowReplace::test_replace_other_kwargs tests/test_arrow.py::TestArrowShift::test_not_attr tests/test_arrow.py::TestArrowShift::test_shift tests/test_arrow.py::TestArrowShift::test_shift_negative tests/test_arrow.py::TestArrowShift::test_shift_quarters_bug tests/test_arrow.py::TestArrowRange::test_year tests/test_arrow.py::TestArrowRange::test_quarter tests/test_arrow.py::TestArrowRange::test_month tests/test_arrow.py::TestArrowRange::test_week tests/test_arrow.py::TestArrowRange::test_day tests/test_arrow.py::TestArrowRange::test_hour tests/test_arrow.py::TestArrowRange::test_minute tests/test_arrow.py::TestArrowRange::test_second tests/test_arrow.py::TestArrowRange::test_arrow tests/test_arrow.py::TestArrowRange::test_naive_tz tests/test_arrow.py::TestArrowRange::test_aware_same_tz tests/test_arrow.py::TestArrowRange::test_aware_different_tz tests/test_arrow.py::TestArrowRange::test_aware_tz tests/test_arrow.py::TestArrowRange::test_unsupported tests/test_arrow.py::TestArrowSpanRange::test_year tests/test_arrow.py::TestArrowSpanRange::test_quarter tests/test_arrow.py::TestArrowSpanRange::test_month tests/test_arrow.py::TestArrowSpanRange::test_week tests/test_arrow.py::TestArrowSpanRange::test_day tests/test_arrow.py::TestArrowSpanRange::test_days tests/test_arrow.py::TestArrowSpanRange::test_hour tests/test_arrow.py::TestArrowSpanRange::test_minute tests/test_arrow.py::TestArrowSpanRange::test_second tests/test_arrow.py::TestArrowSpanRange::test_naive_tz tests/test_arrow.py::TestArrowSpanRange::test_aware_same_tz tests/test_arrow.py::TestArrowSpanRange::test_aware_different_tz tests/test_arrow.py::TestArrowSpanRange::test_aware_tz tests/test_arrow.py::TestArrowSpanRange::test_bounds_param_is_passed tests/test_arrow.py::TestArrowInterval::test_incorrect_input tests/test_arrow.py::TestArrowInterval::test_correct tests/test_arrow.py::TestArrowInterval::test_bounds_param_is_passed tests/test_arrow.py::TestArrowSpan::test_span_attribute tests/test_arrow.py::TestArrowSpan::test_span_year tests/test_arrow.py::TestArrowSpan::test_span_quarter tests/test_arrow.py::TestArrowSpan::test_span_quarter_count tests/test_arrow.py::TestArrowSpan::test_span_year_count tests/test_arrow.py::TestArrowSpan::test_span_month tests/test_arrow.py::TestArrowSpan::test_span_week tests/test_arrow.py::TestArrowSpan::test_span_day tests/test_arrow.py::TestArrowSpan::test_span_hour tests/test_arrow.py::TestArrowSpan::test_span_minute tests/test_arrow.py::TestArrowSpan::test_span_second tests/test_arrow.py::TestArrowSpan::test_span_microsecond tests/test_arrow.py::TestArrowSpan::test_floor tests/test_arrow.py::TestArrowSpan::test_span_inclusive_inclusive tests/test_arrow.py::TestArrowSpan::test_span_exclusive_inclusive tests/test_arrow.py::TestArrowSpan::test_span_exclusive_exclusive tests/test_arrow.py::TestArrowSpan::test_bounds_are_validated tests/test_arrow.py::TestArrowHumanize::test_granularity tests/test_arrow.py::TestArrowHumanize::test_multiple_granularity tests/test_arrow.py::TestArrowHumanize::test_seconds tests/test_arrow.py::TestArrowHumanize::test_minute tests/test_arrow.py::TestArrowHumanize::test_minutes tests/test_arrow.py::TestArrowHumanize::test_hour tests/test_arrow.py::TestArrowHumanize::test_hours tests/test_arrow.py::TestArrowHumanize::test_day tests/test_arrow.py::TestArrowHumanize::test_days tests/test_arrow.py::TestArrowHumanize::test_week tests/test_arrow.py::TestArrowHumanize::test_weeks tests/test_arrow.py::TestArrowHumanize::test_month tests/test_arrow.py::TestArrowHumanize::test_months tests/test_arrow.py::TestArrowHumanize::test_year tests/test_arrow.py::TestArrowHumanize::test_years tests/test_arrow.py::TestArrowHumanize::test_arrow tests/test_arrow.py::TestArrowHumanize::test_datetime_tzinfo tests/test_arrow.py::TestArrowHumanize::test_other tests/test_arrow.py::TestArrowHumanize::test_invalid_locale tests/test_arrow.py::TestArrowHumanize::test_none tests/test_arrow.py::TestArrowHumanizeTestsWithLocale::test_now tests/test_arrow.py::TestArrowHumanizeTestsWithLocale::test_seconds tests/test_arrow.py::TestArrowHumanizeTestsWithLocale::test_years tests/test_arrow.py::TestArrowIsBetween::test_start_before_end tests/test_arrow.py::TestArrowIsBetween::test_exclusive_exclusive_bounds tests/test_arrow.py::TestArrowIsBetween::test_exclusive_exclusive_bounds_same_date tests/test_arrow.py::TestArrowIsBetween::test_inclusive_exclusive_bounds tests/test_arrow.py::TestArrowIsBetween::test_exclusive_inclusive_bounds tests/test_arrow.py::TestArrowIsBetween::test_inclusive_inclusive_bounds_same_date tests/test_arrow.py::TestArrowIsBetween::test_type_error_exception tests/test_arrow.py::TestArrowIsBetween::test_value_error_exception tests/test_arrow.py::TestArrowUtil::test_get_datetime tests/test_arrow.py::TestArrowUtil::test_get_tzinfo tests/test_arrow.py::TestArrowUtil::test_get_iteration_params
arrow/arrow.py
arrow/arrow.py