You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"LICENSE","path":"LICENSE","contentType":"directory"},{"name":"doc","path":"doc","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"extern","path":"extern","contentType":"directory"},{"name":"lib","path":"lib","contentType":"directory"},{"name":"release","path":"release","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":"unit","path":"unit","contentType":"directory"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".mailmap","path":".mailmap","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"CHANGELOG","path":"CHANGELOG","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"INSTALL","path":"INSTALL","contentType":"file"},{"name":"MANIFEST.in","path":"MANIFEST.in","contentType":"file"},{"name":"Makefile","path":"Makefile","contentType":"file"},{"name":"README.osx","path":"README.osx","contentType":"file"},{"name":"README.rst","path":"README.rst","contentType":"file"},{"name":"boilerplate.py","path":"boilerplate.py","contentType":"file"},{"name":"distribute_setup.py","path":"distribute_setup.py","contentType":"file"},{"name":"license.py","path":"license.py","contentType":"file"},{"name":"matplotlibrc.template","path":"matplotlibrc.template","contentType":"file"},{"name":"setup.cfg.template","path":"setup.cfg.template","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"},{"name":"setupext.py","path":"setupext.py","contentType":"file"},{"name":"test_only.py","path":"test_only.py","contentType":"file"},{"name":"tests.py","path":"tests.py","contentType":"file"},{"name":"tox.ini","path":"tox.ini","contentType":"file"}],"totalCount":30}},"fileTreeProcessingTime":9.683850000000001,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":24180339,"defaultBranch":"master","name":"matplotlib","ownerLogin":"leizhang-","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2014-09-18T08:33:05.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6856915?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1617113355.1839979","canEdit":false,"refType":"branch","currentOid":"2c115909f2278ed51db681fa1d36f8509efa1d67"},"path":"tests.py","currentUser":null,"blob":{"rawLines":["#!/usr/bin/env python","#","# This allows running the matplotlib tests from the command line: e.g.","#","# $ python tests.py -v -d","#","# The arguments are identical to the arguments accepted by nosetests.","#","# See https://nose.readthedocs.org/ for a detailed description of","# these options.","","import os","import sys","import time","","import matplotlib","matplotlib.use('agg')","","import nose","from matplotlib.testing.noseclasses import KnownFailure","from matplotlib import default_test_modules","","from matplotlib import font_manager","# Make sure the font caches are created before starting any possibly","# parallel tests","if font_manager._fmcache is not None:"," while not os.path.exists(font_manager._fmcache):"," time.sleep(0.5)","","plugins = [KnownFailure]","","# Nose doesn't automatically instantiate all of the plugins in the","# child processes, so we have to provide the multiprocess plugin with","# a list.","from nose.plugins import multiprocess","multiprocess._instantiate_plugins = plugins","","def run():"," nose.main(addplugins=[x() for x in plugins],"," defaultTest=default_test_modules)","","if __name__ == '__main__':"," if '--no-pep8' in sys.argv:"," default_test_modules.remove('matplotlib.tests.test_coding_standards')"," sys.argv.remove('--no-pep8')"," elif '--pep8' in sys.argv:"," default_test_modules = ['matplotlib.tests.test_coding_standards']"," sys.argv.remove('--pep8')",""," run()"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/leizhang-/matplotlib/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"tests.py","displayUrl":"https://github.com/leizhang-/matplotlib/blob/master/tests.py?raw=true","headerInfo":{"blobSize":"1.37 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"d27055c","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fleizhang-%2Fmatplotlib%2Fblob%2Fmaster%2Ftests.py","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"50","truncatedSloc":"41"},"mode":"executable file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Python","languageID":303,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/leizhang-/matplotlib/blob/master/tests.py","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/leizhang-/matplotlib/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/leizhang-/matplotlib/raw/refs/heads/master/tests.py","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"plugins","kind":"constant","ident_start":709,"ident_end":716,"extent_start":709,"extent_end":733,"fully_qualified_name":"plugins","ident_utf16":{"start":{"line_number":29,"utf16_col":0},"end":{"line_number":29,"utf16_col":7}},"extent_utf16":{"start":{"line_number":29,"utf16_col":0},"end":{"line_number":29,"utf16_col":24}}},{"name":"run","kind":"function","ident_start":969,"ident_end":972,"extent_start":965,"extent_end":1072,"fully_qualified_name":"run","ident_utf16":{"start":{"line_number":37,"utf16_col":4},"end":{"line_number":37,"utf16_col":7}},"extent_utf16":{"start":{"line_number":37,"utf16_col":0},"end":{"line_number":39,"utf16_col":47}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/leizhang-/matplotlib/branches":{"post":"0pbx9lbICzqcZ6SdpdyezwPh9hXWlbRsA_SIhCyRiJrBf9e87SqGVXV7HB8yHfR5o5IXd4Fn37-VVfr-w0sfdw"},"/repos/preferences":{"post":"fixTIiVIeEbIjqe4BsyQRtndjnYRlKs-ZaOMUHa51Jwwe2ScLhMRiLhd_IX76OAAyXv8x8tBCz2EOQRUK88pLg"}}},"title":"matplotlib/tests.py at master · leizhang-/matplotlib","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}