Title: Multiple test errors in current master on Python 3.4 / Ubuntu 12.04 · Issue #3086 · matplotlib/matplotlib · GitHub
Open Graph Title: Multiple test errors in current master on Python 3.4 / Ubuntu 12.04 · Issue #3086 · matplotlib/matplotlib
X Title: Multiple test errors in current master on Python 3.4 / Ubuntu 12.04 · Issue #3086 · matplotlib/matplotlib
Description: Not sure if you're officially supporting Python 3.4 yet, but just in case this is useful... I am trying to get the current master branch (4b1bd63) working on 3.4 for my Snake Charmer project. When I run python3.4 -c "import matplotlib; m...
Open Graph Description: Not sure if you're officially supporting Python 3.4 yet, but just in case this is useful... I am trying to get the current master branch (4b1bd63) working on 3.4 for my Snake Charmer project. When ...
X Description: Not sure if you're officially supporting Python 3.4 yet, but just in case this is useful... I am trying to get the current master branch (4b1bd63) working on 3.4 for my Snake Charmer project. W...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3086
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple test errors in current master on Python 3.4 / Ubuntu 12.04","articleBody":"Not sure if you're officially supporting Python 3.4 yet, but just in case this is useful...\n\nI am trying to get the current master branch (4b1bd6301d69f856deca9c614af563f5fb4d1e90) working on 3.4 for my [Snake Charmer](https://github.com/andrewclegg/snake-charmer) project. When I run\n\n```\npython3.4 -c \"import matplotlib; matplotlib.test()\"\n```\n\nI get 4 tests in error (see below).\n\nTo reproduce, check out https://github.com/andrewclegg/snake-charmer/commit/72734deb5b3a5d9cf4848aeb6b19a4661a85efe7, spin up a VM as directed in the [README](https://github.com/andrewclegg/snake-charmer/blob/72734deb5b3a5d9cf4848aeb6b19a4661a85efe7/README.md), log into the VM by doing `vagrant ssh` and run the tests as normal.\n\nTest transcript:\n\n```\n======================================================================\nERROR: matplotlib.tests.test_text.test_multiline.test\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/usr/local/lib/python3.4/dist-packages/nose/case.py\", line 198, in runTest\n self.test(*self.arg)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/testing/decorators.py\", line 50, in failer\n result = f(*args, **kwargs)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/testing/decorators.py\", line 188, in do_test\n figure.savefig(actual_fname, **self._savefig_kwarg)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/figure.py\", line 1470, in savefig\n self.canvas.print_figure(*args, **kwargs)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/backend_bases.py\", line 2192, in print_figure\n **kwargs)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/backends/backend_svg.py\", line 1177, in print_svg\n return self._print_svg(filename, svgwriter, fh_to_close, **kwargs)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/backends/backend_svg.py\", line 1205, in _print_svg\n self.figure.draw(renderer)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/artist.py\", line 59, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/figure.py\", line 1079, in draw\n func(*args)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/artist.py\", line 59, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/axes/_base.py\", line 2088, in draw\n a.draw(renderer)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/artist.py\", line 59, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/text.py\", line 538, in draw\n bbox, info, descent = self._get_layout(renderer)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/text.py\", line 320, in _get_layout\n ismath=ismath)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/backends/backend_svg.py\", line 1154, in get_text_width_height_descent\n return self._text2path.get_text_width_height_descent(s, prop, ismath)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/textpath.py\", line 116, in get_text_width_height_descent\n font = self._get_font(prop)\n File \"/usr/local/lib/python3.4/dist-packages/matplotlib/textpath.py\", line 60, in _get_font\n font = FT2Font(fname)\nTypeError: First argument must be a path or file object reading bytes\n\n======================================================================\nERROR: Failure: AttributeError ('module' object has no attribute 'test_dates')\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/usr/local/lib/python3.4/dist-packages/nose/failure.py\", line 39, in runTest\n raise self.exc_val.with_traceback(self.tb)\n File \"/usr/local/lib/python3.4/dist-packages/nose/loader.py\", line 403, in loadTestsFromName\n module = resolve_name(addr.module)\n File \"/usr/local/lib/python3.4/dist-packages/nose/util.py\", line 321, in resolve_name\n obj = getattr(obj, part)\nAttributeError: 'module' object has no attribute 'test_dates'\n\n======================================================================\nERROR: Failure: AttributeError ('module' object has no attribute 'test_legend')\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/usr/local/lib/python3.4/dist-packages/nose/failure.py\", line 39, in runTest\n raise self.exc_val.with_traceback(self.tb)\n File \"/usr/local/lib/python3.4/dist-packages/nose/loader.py\", line 403, in loadTestsFromName\n module = resolve_name(addr.module)\n File \"/usr/local/lib/python3.4/dist-packages/nose/util.py\", line 321, in resolve_name\n obj = getattr(obj, part)\nAttributeError: 'module' object has no attribute 'test_legend'\n\n======================================================================\nERROR: Failure: AttributeError ('module' object has no attribute 'test_patheffects')\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/usr/local/lib/python3.4/dist-packages/nose/failure.py\", line 39, in runTest\n raise self.exc_val.with_traceback(self.tb)\n File \"/usr/local/lib/python3.4/dist-packages/nose/loader.py\", line 403, in loadTestsFromName\n module = resolve_name(addr.module)\n File \"/usr/local/lib/python3.4/dist-packages/nose/util.py\", line 321, in resolve_name\n obj = getattr(obj, part)\nAttributeError: 'module' object has no attribute 'test_patheffects'\n\n----------------------------------------------------------------------\nRan 4546 tests in 11006.755s\n\nFAILED (KNOWNFAIL=365, SKIP=9, errors=4)\n/usr/local/lib/python3.4/dist-packages/matplotlib/__init__.py:1252: UserWarning: This call to matplotlib.use() has no effect\nbecause the backend has already been chosen;\nmatplotlib.use() must be called *before* pylab, matplotlib.pyplot,\nor matplotlib.backends is imported for the first time.\n\n warnings.warn(_use_error_msg)\n```\n","author":{"url":"https://github.com/andrewclegg","@type":"Person","name":"andrewclegg"},"datePublished":"2014-05-24T20:56:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/3086/matplotlib/issues/3086"}
| 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:5b2a0c82-4ce3-1a1d-cdcb-1049c8777a72 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD3E:1BC756:BF1AC:10648F:6A5253B5 |
| html-safe-nonce | ebcdd462b47ecca115a78c7b7a3816599de55e93effc825b757cbfb98241dace |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDNFOjFCQzc1NjpCRjFBQzoxMDY0OEY6NkE1MjUzQjUiLCJ2aXNpdG9yX2lkIjoiNTU3NjU2ODM3NjIyMDg2NTQ2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b91ada932011f1cf6fba99381c417a7c9da932065697d83c48b6b65cebfcca1c |
| hovercard-subject-tag | issue:34242552 |
| 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/matplotlib/matplotlib/3086/issue_layout |
| twitter:image | https://opengraph.githubassets.com/95b5d7af845b9be1462e485fd579a3ad07c8a317dff5bdc840a19dee818be410/matplotlib/matplotlib/issues/3086 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/95b5d7af845b9be1462e485fd579a3ad07c8a317dff5bdc840a19dee818be410/matplotlib/matplotlib/issues/3086 |
| og:image:alt | Not sure if you're officially supporting Python 3.4 yet, but just in case this is useful... I am trying to get the current master branch (4b1bd63) working on 3.4 for my Snake Charmer project. When ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andrewclegg |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width