elliotgao2 / gain

Web crawling framework based on asyncio.
GNU General Public License v3.0
2.04k stars 207 forks source link

Test failed on Windows #21

Closed hyfc closed 7 years ago

hyfc commented 7 years ago

(gain) E:\workspace\GitHub\gain>pytest ============================= test session starts ============================= platform win32 -- Python 3.6.1, pytest-3.1.2, py-1.4.34, pluggy-0.4.0 rootdir: E:\workspace\GitHub\gain, inifile: collected 4 items / 1 errors

=================================== ERRORS ==================================== _____ ERROR collecting tests/test_file_result.py __ ImportError while importing test module 'E:\workspace\GitHub\gain\tests\test_fi e_result.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests\test_file_result.py:4: in from gain.result import FileResult E ModuleNotFoundError: No module named 'gain.result' !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!! =========================== 1 error in 0.51 seconds ===========================

cap

hyfc commented 7 years ago

All tests passed after reinstalling my Python interpreter.