Version 0.3.5. Python 3 on Arch Linux.
Tests:
weather_com_result = pywapi.get_weather_from_weather_com('10001')
yahoo_result = pywapi.get_weather_from_yahoo('10001')
noaa_result = pywapi.get_weather_from_noaa('KJFK')
Only the first test fails:
File "/usr/lib/python3.3/site-packages/pywapi.py", line 203, in get_weather_from_weather_com
if weather_dom.getElementsByTagName('dayf') > 0:
TypeError: unorderable types: NodeList() > int()
Test does not fail with version 0.3.4.
Original issue reported on code.google.com by willem...@gmail.com on 13 Aug 2013 at 6:19
Original issue reported on code.google.com by
willem...@gmail.com
on 13 Aug 2013 at 6:19