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

alecthomas / voluptuous / 671
96%

Build:
DEFAULT BRANCH: master
Ran 06 Dec 2020 10:12PM UTC
Jobs 5
Files 6
Run time 3min
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

pending completion
671

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.

1070 of 1118 relevant lines covered (95.71%)

4.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 671.1 (USERNAME=[secure] PASSWORD=[secure]) 06 Dec 2020 10:12PM UTC 0
93.38
Travis Job 671.1
2 671.2 (USERNAME=[secure] PASSWORD=[secure]) 06 Dec 2020 10:12PM UTC 0
94.9
Travis Job 671.2
3 671.3 (USERNAME=[secure] PASSWORD=[secure]) 06 Dec 2020 10:12PM UTC 0
94.9
Travis Job 671.3
4 671.4 (USERNAME=[secure] PASSWORD=[secure]) 06 Dec 2020 10:12PM UTC 0
94.98
Travis Job 671.4
5 671.5 (USERNAME=[secure] PASSWORD=[secure]) 06 Dec 2020 10:15PM UTC 0
94.98
Travis Job 671.5
Source Files on build 671
  • Tree
  • List 6
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #671
  • 1a7cb819 on github
  • Prev Build on master (#670)
  • Next Build on master (#673)
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

© 2025 Coveralls, Inc