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
PageArrayTable: multiple values for 'arg_str' #1929
Conversation
Using an unnamed argument creates a conflict in 'make_row_valuewidget()', where 'arg_str' is added to **kwargs
@benfitzpatrick please review and/or re-assign. |
Thanks Scott! Could you add your name to CONTRIBUTING.md as part of the PR? The tests are nice - do you have time to quickly plug them into our test framework by moving them under a You'd need to create that directory and make it look like the others, with a test_header symlink and e.g. an It would be best to have a skip over the test if |
Use pytest-tap to output in TAP format
Done. I was getting errors that I'm already in the contributors file :) Cheers, Scott
Without pytest-tap
|
Unfortunately, we don't have pytest installed, so I can't test it - but it is a good change! |
@matthewrmshin please sanity check. |
Looks sane. |
This patch fixes an error in the
PageArrayTable
widget, which fails when it attempts to display an array variable (i.e. a variable with thelength
metadata set). This error can be seen in the01-types
app of thedemo-meta
example suite.I've included an example that can be run with
py.test
. Without the patch, running the test produces the errorThe error message is also displayed in the status bar of the GUI when using the widget to display arrays.