Ogi Moore
7e57e07068
example app now works with Qt4 and Python2 again ( #1302 )
...
* example app now workw with Qt4 and Python2 again
* Example App is now part of the test suite
* Add initExample
* No scary warning when launching examples
* Fix scary examples.__main__ warning
* Use courier new font as its on all platforms
* Remove commented out code
* Add newline
* Updated docs, example app now tested
* Non-relative import for example app
* Proper importing now
2020-10-19 11:51:12 -07:00
Ogi
ab96ca1d30
Examples Should Be Tested on PySide2 5.14.2.2
2020-06-02 22:44:17 -07:00
Ogi
19ae94765f
Skip tests involving loadUi with pyside2 5.14
2020-02-24 23:00:42 -08:00
Ogi Moore
584c4516f0
Expand CI + pre-commit ( #991 )
...
* Initial attempt at extra checks in CI land
* Adding flake8 config
* Adding pre-commit configuration and explanation in CONTRIBUTING.md
2019-08-29 13:56:25 -07:00
Ogi
fe637512b5
Skip GL* examples if on macOS with python2 and qt4 bindings, and update readme
2019-06-25 23:05:38 -07:00
Ogi Moore
0cc4900d7a
Skip some test examples ( #937 )
...
* Skip RemoteSpeedTest.py during testing
* Skip `optics_demos.py` test on PySide 1. 2.4 due to documented pyside bug
2019-06-21 08:36:42 -07:00
Ogi
f05ff6fbf9
Restore duplicate entries in examples app, but test_examples does not duplicate tests
2019-06-10 21:20:31 -07:00
Ogi
be0e95ace7
Incorporating requested changes
2019-06-03 20:49:31 -07:00
Ogi
9f66b7dc6e
Much better error reporting/tracepacks on examples
2019-06-02 22:16:35 -07:00
Ogi
5ff409ba4b
Move example test code such that pytest is required
2019-06-01 22:36:11 -07:00
2xB
560993e8c5
Exclude selected examples from tests (such as HDF5)
2019-05-29 11:16:09 +02:00
2xB
a37e877631
Add PyQt5 and PySide2 to test_example.py ( #897 )
...
* Add PySide2 to test_example.py
Before, example tests are skipped because no PyQt version was found
2019-05-27 21:07:25 -07:00
Luke Campagnola
24b288a05a
really actually fix
2016-12-14 10:19:01 -08:00
Luke Campagnola
8d85b87d71
py3 fix
2016-12-14 10:14:11 -08:00
Luke Campagnola
8fc98a6a0b
Add print wrapper to work around interrupted system calls on travis
2016-12-14 10:07:16 -08:00
Eric Dill
afbc65325e
py26: {} cannot be empty for string formatting
...
So that's a nasty gotcha of python 2.6!
2015-08-02 17:18:38 -04:00
Eric Dill
4b15fa75d5
TST: Use pgcollections.OrderedDict for 2.6 compat
2015-08-02 17:08:07 -04:00
Eric Dill
c02dbe7679
TST: use pyqtgraph.Qt to import Qt stuff
2015-07-31 10:22:41 -04:00
Eric Dill
ed35993ae1
TST: all the testing
2015-07-12 16:12:42 -05:00
Eric Dill
6375c74109
TST: Finish testing all examples
...
- py.test will now run examples/test_examples.py too
2015-07-12 13:42:58 -05:00