Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests for arrow>=0.15.6 #380

Merged
merged 1 commit into from
Jun 10, 2020
Merged
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Require latest Arrow version 0.15.6 to support ISO week dates (#380)

## [1.9.0] - 2020-05-27

### Added
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
arrow!=0.11,!=0.12.0,<0.15.6
arrow>=0.15.6
click>=7.0
click-didyoumean
colorama; sys_platform == "win32"
requests
requests
8 changes: 4 additions & 4 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -44,6 +44,10 @@
.replace(hour=14, minute=5, second=0)
.format('YYYY-MM-DD HH:mm:ss')
),
('2018-W08', '2018-02-19 00:00:00'), # week dates
('2018W08', '2018-02-19 00:00:00'),
('2018-W08-2', '2018-02-20 00:00:00'),
('2018W082', '2018-02-20 00:00:00'),
]

INVALID_DATES_DATA = [
@@ -52,10 +56,6 @@
('201804'),
('18-04-10'),
('180410'), # truncated representation not allowed
('2018-W08'), # despite week dates being part of ISO-8601
('2018W08'),
('2018-W08-2'),
('2018W082'),
('hello 2018'),
('yesterday'),
('tomorrow'),