Skip to content

Commit

Permalink
starting to mock pigpio
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Feb 28, 2022
1 parent fab3cf4 commit 7cbbe8c
Show file tree
Hide file tree
Showing 5 changed files with 1,310 additions and 922 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -38,7 +38,7 @@ env:
- DISPLAY=":99.0" QT_DEBUG_PLUGINS=1 # https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html?highlight=travis#xvfb-assertionerror-timeouterror-when-using-waituntil-waitexposed-and-ui-events

install:
- pip install . [tests]
- pip install .[tests]
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX +render -noreset"
- sleep 3

Expand Down
2 changes: 1 addition & 1 deletion autopilot/__init__.py
@@ -1,7 +1,7 @@
__author__ = 'Jonny Saunders <j@nny.fyi>'

import sys
if sys.version_info.minor<8:
if sys.version_info < (3,8):
from importlib_metadata import version
else:
from importlib.metadata import version
Expand Down

0 comments on commit 7cbbe8c

Please sign in to comment.