• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alecthomas / voluptuous / 671 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 06 Dec 2020 10:12PM UTC
Files 6
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Dec 2020 10:08PM UTC coverage: 93.381%. Remained the same
USERNAME=[secure] PASSWORD=[secure]

push

travis-ci

web-flow
Remove value enumeration when validating empty list (#434)

* Add ability to use custom flags when running tox

.. so that you can e.g. run `tox -- --pdb` to get a debugger
on test failures.

* Remove value enumeration when validating empty list (#397)

The behaviour seems to have been introduced in commit
95489bd443e9a654 that modified the schema of an empty list in order
to provide a consistent behaviour between Schema({}) and Schema([]).

The commit introduced an enumeration of the incorrect values rather
than the expected behaviour of showing the key with the incorrect
value.

This commit provides the expected behaviour, and is also consistent
with the 'pathless' behaviour currently implemented, meaning that

- Schema([])([1]) -> 'not a valid value @ data[1]'
- Schema({'key': []})({'key': [1]) -> 'not a valid dictionary value @
data['key'].

Finally, as new unit test is provided to ensure that the new behaviour
remains intact.

1044 of 1118 relevant lines covered (93.38%)

0.93 hits per line

Source Files on job 671.1 (USERNAME=[secure] PASSWORD=[secure])
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 649
  • Travis Job 671.1
  • 1a7cb819 on github
  • Prev Job for USERNAME=[secure] PASSWORD=[secure] on master (#670.1)
  • Next Job for USERNAME=[secure] PASSWORD=[secure] on master (#673.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc