Fix pwntools import tests
@@ -64,13 +64,16 @@ requirements:
- python-unicorn >=1.0.2rc1,<1.0.2rc4
test:
- imports:
- - pwn
- - pwnlib
+ # Can't use a regular imports test as due to the issue with the TERM variable
+ # imports:
+ # - pwn
+ # - pwnlib
commands:
- pip check
# Avoid errors like "Warning: _curses.error: setupterm: could not find terminfo database"
- export TERM=xterm
+ - python -c 'import pwn'
+ - python -c 'import pwnlib'
- pwn --help
- version --help
- update --help
