Skip to content

Commit 3eb9ce5

Browse files
author
Hugo Osvaldo Barrera
committed
Add compatibility with latest click
1 parent b1b4dd9 commit 3eb9ce5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
requirements = [
1313
# https://github.com/mitsuhiko/click/issues/200
14-
'click>=5.0,<6.0',
14+
'click>=5.0',
1515
'click-log>=0.3.0, <0.4.0',
1616

1717
# https://github.com/pimutils/vdirsyncer/issues/478

tests/system/cli/test_sync.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ def test_verbosity(tmpdir, runner):
123123
runner.write_with_general('')
124124
result = runner.invoke(['--verbosity=HAHA', 'sync'])
125125
assert result.exception
126-
assert 'invalid value for "--verbosity"' in result.output.lower()
126+
assert (
127+
'invalid value for "--verbosity"' in result.output.lower()
128+
or "invalid value for '--verbosity'" in result.output.lower()
129+
)
127130

128131

129132
def test_collections_cache_invalidation(tmpdir, runner):

0 commit comments

Comments
 (0)