Title: Test suite is broken for Python 3.x · Issue #19 · microsoft/ApplicationInsights-Python · GitHub
Open Graph Title: Test suite is broken for Python 3.x · Issue #19 · microsoft/ApplicationInsights-Python
X Title: Test suite is broken for Python 3.x · Issue #19 · microsoft/ApplicationInsights-Python
Description: The module test.test_support exists only in Python 2. This was renamed to test.support in Python 3. I am shipping the following patch in the Debian package for this module: Description: Use test.support if Python 3 to enable test suite o...
Open Graph Description: The module test.test_support exists only in Python 2. This was renamed to test.support in Python 3. I am shipping the following patch in the Debian package for this module: Description: Use test.su...
X Description: The module test.test_support exists only in Python 2. This was renamed to test.support in Python 3. I am shipping the following patch in the Debian package for this module: Description: Use test.su...
Opengraph URL: https://github.com/microsoft/ApplicationInsights-Python/issues/19
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test suite is broken for Python 3.x","articleBody":"The module `test.test_support` exists only in Python 2. This was renamed to `test.support` in Python 3. I am shipping the following patch in the Debian package for this module:\n\n```\nDescription: Use test.support if Python 3 to enable test suite on Python 3\nAuthor: Iain R. Learmonth \u003cirl@debian.org>\nLast-Update: 2016-09-23\n\n---\n--- a/tests/applicationinsights_tests/TestTelemetryClient.py\n+++ b/tests/applicationinsights_tests/TestTelemetryClient.py\n@@ -1,10 +1,15 @@\n+import sys\n+import os\n+import os.path\n import unittest\n import inspect\n import json\n\n-from test import test_support\n+if sys.version_info \u003c (3, 0):\n+ from test import test_support\n+else:\n+ from test import support as test_support\n\n-import sys, os, os.path\n rootDirectory = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..')\n if rootDirectory not in sys.path:\n sys.path.append(rootDirectory)\n```\n","author":{"url":"https://github.com/irl","@type":"Person","name":"irl"},"datePublished":"2016-09-23T22:29:30Z","url":"https://github.com/microsoft/ApplicationInsights-Python/issues/19"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:63684002-421e-9e6e-28f5-a092f0626d83 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C96:103741:485644:6147A0:6B04A1CF |
| html-safe-nonce | 869626f41b58f74a05eeeb153e3af18395bb108896b9591ae195653028b06370 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Qzk2OjEwMzc0MTo0ODU2NDQ6NjE0N0EwOjZCMDRBMUNGIiwidmlzaXRvcl9pZCI6Ijg1NTg4NDkyMzU0MTQ3MjA5NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3503d9d8ca71bb29fac29629e45a152b7016f36ce1a786b24b394d4292fc4d71 |
| hovercard-subject-tag | issue:178986797 |
| 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/microsoft/ApplicationInsights-Python/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1a1e40db270a1e9dfd59a83642295c874de28985f3a60ad2e703594fb71577ac/microsoft/ApplicationInsights-Python/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a1e40db270a1e9dfd59a83642295c874de28985f3a60ad2e703594fb71577ac/microsoft/ApplicationInsights-Python/issues/19 |
| og:image:alt | The module test.test_support exists only in Python 2. This was renamed to test.support in Python 3. I am shipping the following patch in the Debian package for this module: Description: Use test.su... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | irl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/ApplicationInsights-Python git https://github.com/microsoft/ApplicationInsights-Python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 26877260 |
| octolytics-dimension-repository_nwo | microsoft/ApplicationInsights-Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26877260 |
| octolytics-dimension-repository_network_root_nwo | microsoft/ApplicationInsights-Python |
| 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 | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width