From 50a7f4fd3e379596684ce5e70bf90315f5247938 Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" Date: Tue, 19 Oct 2021 23:25:19 +0800 Subject: [PATCH] Fix typos --- CHANGELOG.rst | 2 +- tests/test_parser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0294bad7..132742d5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -358,7 +358,7 @@ The following will work in v0.15.0: ------------------- - [NEW] Added support for ``week`` granularity in ``Arrow.humanize()``. For example, ``arrow.utcnow().shift(weeks=-1).humanize(granularity="week")`` outputs "a week ago". This change introduced two new untranslated words, ``week`` and ``weeks``, to all locale dictionaries, so locale contributions are welcome! -- [NEW] Fully translated the Brazilian Portugese locale. +- [NEW] Fully translated the Brazilian Portuguese locale. - [CHANGE] Updated the Macedonian locale to inherit from a Slavic base. - [FIX] Fixed a bug that caused ``arrow.get()`` to ignore tzinfo arguments of type string (e.g. ``arrow.get(tzinfo="Europe/Paris")``). - [FIX] Fixed a bug that occurred when ``arrow.Arrow()`` was instantiated with a ``pytz`` tzinfo object. diff --git a/tests/test_parser.py b/tests/test_parser.py index 4552f65a..4a4cfe41 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -1323,7 +1323,7 @@ def test_iso8601_basic_format(self): # ordinal in basic format: YYYYDDDD assert self.parser.parse_iso("1998136") == datetime(1998, 5, 16) - # timezone requires +- seperator + # timezone requires +- separator with pytest.raises(ParserError): self.parser.parse_iso("20180517T1055130700")