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] PyTableModel: Allow wrapping empty lists #4631

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Apr 7, 2020

Issue

PyTableModel's constructor does not wrap an empty list but wraps another, new empty list instead.

Constructor has an argument sequence with default None and then wraps sequence or []. This is not OK when sequence is [].

Includes
  • Code changes
  • Tests

@janezd janezd added urgent Requires immediate action and removed urgent Requires immediate action labels Apr 7, 2020
@codecov
Copy link

codecov bot commented Apr 7, 2020

Codecov Report

Merging #4631 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4631      +/-   ##
==========================================
- Coverage   83.65%   83.63%   -0.02%     
==========================================
  Files         281      276       -5     
  Lines       56269    55464     -805     
==========================================
- Hits        47072    46388     -684     
+ Misses       9197     9076     -121     

@ales-erjavec ales-erjavec merged commit db4e7ce into biolab:master Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants