Title: How to run pytest in a developper context? · Issue #1316 · pythonnet/pythonnet · GitHub
Open Graph Title: How to run pytest in a developper context? · Issue #1316 · pythonnet/pythonnet
X Title: How to run pytest in a developper context? · Issue #1316 · pythonnet/pythonnet
Description: Environment Pythonnet version: ce76f2e Python version: 3.7.9 Operating System: Windows Details In the latest master, I find myself unable to run pytest tests. Pretty sure I'm missing something, but I can't find what. # starting from a cl...
Open Graph Description: Environment Pythonnet version: ce76f2e Python version: 3.7.9 Operating System: Windows Details In the latest master, I find myself unable to run pytest tests. Pretty sure I'm missing something, but...
X Description: Environment Pythonnet version: ce76f2e Python version: 3.7.9 Operating System: Windows Details In the latest master, I find myself unable to run pytest tests. Pretty sure I'm missing something,...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/1316
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to run pytest in a developper context?","articleBody":"### Environment\r\n\r\n- Pythonnet version: ce76f2e1d20dbc599e076c3f66d317d4cdf8d515\r\n- Python version: 3.7.9\r\n- Operating System: Windows\r\n\r\n### Details\r\n\r\nIn the latest master, I find myself unable to run pytest tests. Pretty sure I'm missing something, but I can't find what.\r\n\r\n```\r\n# starting from a clean repo:\r\npython setup.py build\r\npython -m pytest\r\n\r\n# pytest output:\r\n\r\n==================================ERRORS ==================================\r\n_________________________________________________________________________________________ ERROR collecting test session __________________________________________________________________________________________\r\nC:\\Program Files\\Python37\\lib\\importlib\\__init__.py:127: in import_module\r\n return _bootstrap._gcd_import(name[level:], package, level)\r\n\u003cfrozen importlib._bootstrap\u003e:1006: in _gcd_import\r\n ???\r\n\u003cfrozen importlib._bootstrap\u003e:983: in _find_and_load\r\n ???\r\n\u003cfrozen importlib._bootstrap\u003e:967: in _find_and_load_unlocked\r\n ???\r\n\u003cfrozen importlib._bootstrap\u003e:677: in _load_unlocked\r\n ???\r\n..\\env37\\lib\\site-packages\\_pytest\\assertion\\rewrite.py:171: in exec_module\r\n exec(co, module.__dict__)\r\nsrc\\tests\\conftest.py:26: in \u003cmodule\u003e\r\n import clr\r\nE ModuleNotFoundError: No module named 'clr'\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n==================================1 error in 1.94s ==================================\r\n```\r\n\r\n","author":{"url":"https://github.com/BadSingleton","@type":"Person","name":"BadSingleton"},"datePublished":"2020-12-11T16:59:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1316/pythonnet/issues/1316"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:757a3ceb-6a4f-7064-0159-1309b8fe775e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE64:9DF5C:3FCDE09:5935A6C:69713911 |
| html-safe-nonce | 8f6f5e1d60787bc694cdb151e1a2ac5b195b7a0a8f2a28cbff9b0b402e5fcd0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTY0OjlERjVDOjNGQ0RFMDk6NTkzNUE2Qzo2OTcxMzkxMSIsInZpc2l0b3JfaWQiOiIyNjA4NjUyMTIxMDQ0NzYwODUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bfded6b35a109b5e0c52c0151977bdaa6e134ce05774fa85215c9a15bb673ec2 |
| hovercard-subject-tag | issue:762626362 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/1316/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6479aa341049aade2ef7cb8fb85a43233b00de6d8c09054f4c44c314c0ddaac0/pythonnet/pythonnet/issues/1316 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6479aa341049aade2ef7cb8fb85a43233b00de6d8c09054f4c44c314c0ddaac0/pythonnet/pythonnet/issues/1316 |
| og:image:alt | Environment Pythonnet version: ce76f2e Python version: 3.7.9 Operating System: Windows Details In the latest master, I find myself unable to run pytest tests. Pretty sure I'm missing something, but... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BadSingleton |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7899979feb505886f0f29e8086a739254f3a850fd3dbc9fb63ce4ec27831b1fb |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 998d3ef09faa982f8d83ad111166244ae4625572 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width