Commit Graph

13 Commits

Author SHA1 Message Date
Ogi Moore c7675ca8bb Fix unraisable exception in test_examples
The way we called subprocess.Popen, it looks like we didn't close all
the pipes; this PR addresses the warning that pytest generates when
running the examples.

In addition, we toggle the pytest setting to error on any warning
2021-05-31 21:06:16 -07:00
Ogi Moore d72be799d7 Catch and Address Warnings in test_svg and pytest.ini
On Windows, pyreadline is emitting a deprecation warning we can ignore.
Furthermore, test_svg was using NamedTemporaryFile in a manner that was
causing permission denied errors, so this commit switches to the use of
pytest friendly temporary files
2021-05-31 21:06:16 -07:00
Ogi Moore a6971c768d Move and Update test-data repo into pyqtgraph repo
To reduce complexity, and make it easier to add more images and tests,
the images in the `test-data` repository should be merged with the main
repository.  Furthermore, we can remove a lot of the subprocess work in
the image_testing.py file, as we no longer need to have it interact with
git.

The images are not the same.  Images were regenerated with Qt6, and now
have proper big and little endian handling thanks to @pijyoi

Second commit is a slightly modified variant of
2e135ab282d6007b34a3854921be54d0e9efb241 authored by @pijyoi
it is to convert qimages to RGBA8888 for testing.  Image
files were regenerated images for the big/little handling

Fixed issue with bogus test from test_NonUniformImage and generated a
new image
2021-05-31 21:05:00 -07:00
Ogi Moore 435c54d20b Adjust pytest.ini warning suppressions
Show standard library Deprecation and PendingDeprecation warnings
Remove warning filters used for older Qt bindings no longer supported
2021-04-15 21:09:11 -07:00
Ogi Moore 0bf6cccd57 Up the faulthandler_timeout parameter to 30 2021-01-19 20:36:54 -08:00
Ogi Moore 1c1187a10f swallow xvfb config option warnings 2020-12-22 10:26:20 -08:00
Ognyan Moore ae776a807d Filter out expected warnings 2020-02-28 14:28:36 -08:00
Kenneth Lyons 2a0f866f7c Add timeout option back to ini and remove command line option 2019-07-01 09:22:48 -07:00
Kenneth Lyons 98e66a855e Remove pytest-faulthandler from test dependencies 2019-06-30 12:05:57 -07:00
Ogi Moore 7506ee3d3f
Add mesa drivers to windows CI images and show openGL info during debug stage (#954)
Add mesa drivers to Windows CI Image
2019-06-23 23:03:51 -07:00
Ogi 5c44d51d6c remove resolution test, have display information printed during debug step 2019-06-09 16:25:22 -07:00
Ogi 2462195991 Call pytest directly, ignore specific warnings, fix azure template labeling 2019-06-08 21:22:07 -07:00
Ogi 191ce16e8d Add pytest config file specifying colordepth when using pytest-xvfb 2019-05-31 17:11:22 -07:00