{"action":"created","issue":{"url":"https://api.github.com/repos/pythonnet/pythonnet/issues/569","repository_url":"https://api.github.com/repos/pythonnet/pythonnet","labels_url":"https://api.github.com/repos/pythonnet/pythonnet/issues/569/labels{/name}","comments_url":"https://api.github.com/repos/pythonnet/pythonnet/issues/569/comments","events_url":"https://api.github.com/repos/pythonnet/pythonnet/issues/569/events","html_url":"https://github.com/pythonnet/pythonnet/issues/569","id":272243252,"number":569,"title":"Failing tests in Windows","user":{"login":"Cronan","id":777435,"avatar_url":"https://avatars3.githubusercontent.com/u/777435?v=4","gravatar_id":"","url":"https://api.github.com/users/Cronan","html_url":"https://github.com/Cronan","followers_url":"https://api.github.com/users/Cronan/followers","following_url":"https://api.github.com/users/Cronan/following{/other_user}","gists_url":"https://api.github.com/users/Cronan/gists{/gist_id}","starred_url":"https://api.github.com/users/Cronan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cronan/subscriptions","organizations_url":"https://api.github.com/users/Cronan/orgs","repos_url":"https://api.github.com/users/Cronan/repos","events_url":"https://api.github.com/users/Cronan/events{/privacy}","received_events_url":"https://api.github.com/users/Cronan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-11-08T15:38:21Z","updated_at":"2017-11-10T17:11:59Z","closed_at":null,"author_association":"NONE","body":"### Environment\r\n\r\n-   Pythonnet version: 2.4.0\r\n-   Python version: 2.7.13\r\n-   Operating System: Windows 7 Enterprise SP 1 (64-bit)\r\n\r\n### Details\r\n\r\n-   I was trying to run the tests after building from the command line. Build worked fine, tests failed\r\n\r\n-   I used the following commands to create the issue:\r\n\r\n```python\r\n    pip install wheel\r\n    pip install pytest\r\n    git clone https://github.com/Cronan/pythonnet.git\r\n    cd pythonnet\r\n    pip install --no-index --find-links=.\\dist\\ pythonnet\r\n    python setup.py bdist_wheel\r\n    python -m pytest\r\n```\r\n\r\n-   Details of the error below:\r\n\r\n```python\r\nD:\\git\\pythonnet>python -m pytest\r\n============================= test session starts =============================\r\nplatform win32 -- Python 2.7.13, pytest-3.2.3, py-1.4.34, pluggy-0.4.0\r\nrootdir: D:\\git\\pythonnet, inifile: setup.cfg\r\ncollected 0 items / 1 errors\r\n\r\n=================================== ERRORS ====================================\r\n______________________________ ERROR collecting  ______________________________\r\nD:\\python27\\lib\\site-packages\\py\\_path\\common.py:372: in visit\r\n    for x in Visitor(fil, rec, ignore, bf, sort).gen(self):\r\nD:\\python27\\lib\\site-packages\\py\\_path\\common.py:421: in gen\r\n    for p in self.gen(subdir):\r\nD:\\python27\\lib\\site-packages\\py\\_path\\common.py:411: in gen\r\n    if p.check(dir=1) and (rec is None or rec(p))])\r\nD:\\python27\\lib\\site-packages\\_pytest\\main.py:728: in _recurse\r\n    ihook = self.gethookproxy(path)\r\nD:\\python27\\lib\\site-packages\\_pytest\\main.py:632: in gethookproxy\r\n    my_conftestmodules = pm._getconftestmodules(fspath)\r\nD:\\python27\\lib\\site-packages\\_pytest\\config.py:356: in _getconftestmodules\r\n    mod = self._importconftest(conftestpath)\r\nD:\\python27\\lib\\site-packages\\_pytest\\config.py:381: in _importconftest\r\n    raise ConftestImportFailure(conftestpath, sys.exc_info())\r\nE   ConftestImportFailure: ImportError('No module named clr',)\r\nE     File \"D:\\python27\\lib\\site-packages\\_pytest\\assertion\\rewrite.py\", line 212, in load_module\r\nE       py.builtin.exec_(co, mod.__dict__)\r\nE     File \"D:\\python27\\lib\\site-packages\\py\\_builtin.py\", line 221, in exec_\r\nE       exec2(obj, globals, locals)\r\nE     File \"<string>\", line 7, in exec2\r\nE     File \"D:\\git\\pythonnet\\src\\tests\\conftest.py\", line 13, in <module>\r\nE       import clr\r\n!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!\r\n=========================== 1 error in 0.36 seconds ===========================\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/pythonnet/pythonnet/issues/comments/343531587","html_url":"https://github.com/pythonnet/pythonnet/issues/569#issuecomment-343531587","issue_url":"https://api.github.com/repos/pythonnet/pythonnet/issues/569","id":343531587,"user":{"login":"denfromufa","id":7870949,"avatar_url":"https://avatars1.githubusercontent.com/u/7870949?v=4","gravatar_id":"","url":"https://api.github.com/users/denfromufa","html_url":"https://github.com/denfromufa","followers_url":"https://api.github.com/users/denfromufa/followers","following_url":"https://api.github.com/users/denfromufa/following{/other_user}","gists_url":"https://api.github.com/users/denfromufa/gists{/gist_id}","starred_url":"https://api.github.com/users/denfromufa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denfromufa/subscriptions","organizations_url":"https://api.github.com/users/denfromufa/orgs","repos_url":"https://api.github.com/users/denfromufa/repos","events_url":"https://api.github.com/users/denfromufa/events{/privacy}","received_events_url":"https://api.github.com/users/denfromufa/received_events","type":"User","site_admin":false},"created_at":"2017-11-10T17:11:59Z","updated_at":"2017-11-10T17:11:59Z","author_association":"OWNER","body":"here is Python.Test.dll locations after the build, not sure how it looks on your build:\r\n\r\n![image](https://user-images.githubusercontent.com/7870949/32669964-e3861c4a-c607-11e7-8f62-6ead54694382.png)\r\n"}}
{"actor":{"display_login":"denfromufa"}}