Skip to content

Commit f0ee3b7

Browse files
committed
minor fix
1 parent 87df9fb commit f0ee3b7

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
language: python
22
python:
3-
- 3.5
43
- 3.6
54
os:
65
- linux
76
install:
87
- pip install -r requirements.txt
8+
before_script:
9+
- "export DISPLAY=:99.0"
10+
- "sh -e /etc/init.d/xvfb start"
11+
- sleep 3 # give xvfb some time to start
912
script: python setup.py test
1013
deploy:
1114
provider: pypi

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Features
3232
Requirements
3333
------------
3434

35-
* Python **3.5** or higher
35+
* Python **3.6** or higher
3636
* `PyQt5 <https://pypi.python.org/pypi/PyQt5>`_
3737
* `PyQtGraph <http://www.pyqtgraph.org/>`_
3838
* `NumPy <http://www.numpy.org/>`_

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
classifiers=[
4444
'Development Status :: 3 - Alpha',
4545
'Intended Audience :: Developers',
46-
'Programming Language :: Python :: 3.5',
4746
'Programming Language :: Python :: 3.6',
4847
'Operating System :: POSIX',
4948
'Operating System :: MacOS :: MacOS X',

tests/test_basics.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
def test_init(qtbot):
55
widget = MainWidget()
6-
widget.show()
76
qtbot.addWidget(widget)
87

8+
widget.show()
9+
910
assert widget.isVisible()
11+
# contains only the Data tab
12+
assert widget.count() == 1

0 commit comments

Comments
 (0)