Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue: add lock/unlock #1107

Merged
merged 4 commits into from May 6, 2019
Merged

issue: add lock/unlock #1107

merged 4 commits into from May 6, 2019

Conversation

FFY00
Copy link
Contributor

@FFY00 FFY00 commented May 2, 2019

No description provided.

@sfdye
Copy link
Member

sfdye commented May 2, 2019

Hi @FFY00 Thank you very much for your PR. It would be helpful if you can add a unit test. You can refer to the contribution docs for instructions.

@FFY00
Copy link
Contributor Author

FFY00 commented May 2, 2019

Do you have any script to had the replay data or do I have to add it manually?

@sfdye
Copy link
Member

sfdye commented May 2, 2019

It's in the link above

@TravisBuddy
Copy link

Travis tests have failed

Hey @FFY00,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then python -m lib2to3 -w -n tests; fi
The command "if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then python -m lib2to3 -w -n tests; fi" exited with 0.

$ coverage run --source github/tests setup.py test
running test
Searching for pyjwt
Reading https://pypi.python.org/simple/pyjwt/
Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl#sha256=5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e
Best match: PyJWT 1.7.1
Processing PyJWT-1.7.1-py2.py3-none-any.whl
Installing PyJWT-1.7.1-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py2.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py2.7.egg
Searching for deprecated
Reading https://pypi.python.org/simple/deprecated/
Downloading https://files.pythonhosted.org/packages/9f/7a/003fa432f1e45625626549726c2fbb7a29baa764e9d1fdb2323a5d779f8a/Deprecated-1.2.5-py2.py3-none-any.whl#sha256=749f6cdcfbdc3f79258f8154bad43fced95adc632c337675d0385959895894bc
Best match: Deprecated 1.2.5
Processing Deprecated-1.2.5-py2.py3-none-any.whl
Installing Deprecated-1.2.5-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py2.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py2.7.egg
Searching for wrapt<2,>=1
Reading https://pypi.python.org/simple/wrapt/
Downloading https://files.pythonhosted.org/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz#sha256=4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533
Best match: wrapt 1.11.1
Processing wrapt-1.11.1.tar.gz
Writing /tmp/easy_install-Ha2I7f/wrapt-1.11.1/setup.cfg
Running wrapt-1.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Ha2I7f/wrapt-1.11.1/egg-dist-tmp-rmXSTV
zip_safe flag not set; analyzing archive contents...
Moving wrapt-1.11.1-py2.7-linux-x86_64.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/wrapt-1.11.1-py2.7-linux-x86_64.egg
Searching for httpretty==0.9.6
Reading https://pypi.python.org/simple/httpretty/
Downloading https://files.pythonhosted.org/packages/6e/84/c779ebe4411195716588b413dd594373144c411762c158b579cf36b37168/httpretty-0.9.6.tar.gz#sha256=01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc
Best match: httpretty 0.9.6
Processing httpretty-0.9.6.tar.gz
Writing /tmp/easy_install-_NnRrn/httpretty-0.9.6/setup.cfg
Running httpretty-0.9.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_NnRrn/httpretty-0.9.6/egg-dist-tmp-heVgNZ
creating /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg
Extracting httpretty-0.9.6-py2.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg
Searching for cryptography
Reading https://pypi.python.org/simple/cryptography/
Downloading https://files.pythonhosted.org/packages/c3/c1/cf8665c955c9393e9ff0872ba6cd3dc6f46ef915e94afcf6e0410508ca69/cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl#sha256=2db34e5c45988f36f7a08a7ab2b69638994a8923853dec2d4af121f689c66dc8
Best match: cryptography 2.6.1
Processing cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl
Installing cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py2.7-linux-x86_64.egg
Searching for ipaddress
Reading https://pypi.python.org/simple/ipaddress/
Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl#sha256=64b28eec5e78e7510698f6d4da08800a5c575caa4a286c93d651c5d3ff7b6794
Best match: ipaddress 1.0.22
Processing ipaddress-1.0.22-py2.py3-none-any.whl
Installing ipaddress-1.0.22-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/ipaddress-1.0.22-py2.7.egg
Searching for enum34
Reading https://pypi.python.org/simple/enum34/
Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl#sha256=6bd0f6ad48ec2aa117d3d141940d484deccda84d4fcd884f5c3d93c23ecd8c79
Best match: enum34 1.1.6
Processing enum34-1.1.6-py2-none-any.whl
Installing enum34-1.1.6-py2-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/enum34-1.1.6-py2.7.egg
Searching for cffi!=1.11.3,>=1.8
Reading https://pypi.python.org/simple/cffi/
Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl#sha256=2444d0c61f03dcd26dbf7600cf64354376ee579acad77aef459e34efcb438c63
Best match: cffi 1.12.3
Processing cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl
Installing cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py2.7-linux-x86_64.egg
Searching for asn1crypto>=0.21.0
Reading https://pypi.python.org/simple/asn1crypto/
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl#sha256=2f1adbb7546ed199e3c90ef23ec95c5cf3585bac7d11fb7eb562a3fe89c64e87
Best match: asn1crypto 0.24.0
Processing asn1crypto-0.24.0-py2.py3-none-any.whl
Installing asn1crypto-0.24.0-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/asn1crypto-0.24.0-py2.7.egg
Searching for pycparser
Reading https://pypi.python.org/simple/pycparser/
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz#sha256=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
Best match: pycparser 2.19
Processing pycparser-2.19.tar.gz
Writing /tmp/easy_install-oE4UtE/pycparser-2.19/setup.cfg
Running pycparser-2.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-oE4UtE/pycparser-2.19/egg-dist-tmp-QDeKFG
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.lex: module references __file__
pycparser.ply.lex: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module references __file__
pycparser.ply.yacc: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module MAY be using inspect.stack
pycparser.ply.ygen: module references __file__
creating /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py2.7.egg
Extracting pycparser-2.19-py2.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py2.7.egg
running egg_info
creating PyGithub.egg-info
writing requirements to PyGithub.egg-info/requires.txt
writing PyGithub.egg-info/PKG-INFO
writing top-level names to PyGithub.egg-info/top_level.txt
writing dependency_links to PyGithub.egg-info/dependency_links.txt
writing manifest file 'PyGithub.egg-info/SOURCES.txt'
reading manifest file 'PyGithub.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PyGithub.egg-info/SOURCES.txt'
running build_ext
testAcceptInvitation (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAttributes (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithClientIdAndSecret (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateFork (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGist (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGistWithoutDescription (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateKey (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateMigration (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepository (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAutoInit (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEmails (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testFollowing (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetAuthorizations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetKeys (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetMigrations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotification (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotifications (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotificationsWithOtherArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrganizationEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrgs (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetRepos (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetReposWithArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetStarredGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetTeams (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testMarkNotificationsAsRead (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testStarring (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testSubscriptions (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testWatching (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAuthorizationHeaderWithLogin (tests.Authentication.Authentication) ... ok
testAuthorizationHeaderWithToken (tests.Authentication.Authentication) ... ok
testBasicAuthentication (tests.Authentication.Authentication) ... ok
testJWTAuthentication (tests.Authentication.Authentication) ... ok
testNoAuthentication (tests.Authentication.Authentication) ... ok
testOAuthAuthentication (tests.Authentication.Authentication) ... ok
testSecretKeyAuthentication (tests.Authentication.Authentication) ... ok
testUserAgent (tests.Authentication.Authentication) ... ok
testAttributes (tests.Authorization.Authorization) ... ok
testDelete (tests.Authorization.Authorization) ... ok
testEdit (tests.Authorization.Authorization) ... ok
testBadAttributeInClassAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadAttributeTransformation (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInDict (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testIssue195 (tests.BadAttributes.BadAttributes) ... ok
testAddRequiredSignatures (tests.Branch.Branch) ... ok
testAdminEnforcement (tests.Branch.Branch) ... ok
testAttributes (tests.Branch.Branch) ... ok
testEditProtection (tests.Branch.Branch) ... ok
testEditProtectionDismissalUsersWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsAndDismissalUser (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers (tests.Branch.Branch) ... ok
testEditRequiredStatusChecks (tests.Branch.Branch) ... ok
testEditTeamPushRestrictions (tests.Branch.Branch) ... ok
testEditUserPushRestrictions (tests.Branch.Branch) ... ok
testGetRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveProtection (tests.Branch.Branch) ... ok
testRemovePushRestrictions (tests.Branch.Branch) ... ok
testRemoveRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testRemoveRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveRequiredStatusChecks (tests.Branch.Branch) ... ok
testAttributes (tests.BranchProtection.BranchProtection) ... ok
testAttributes (tests.Commit.Commit) ... ok
testCreateComment (tests.Commit.Commit) ... ok
testCreateCommentOnFileLine (tests.Commit.Commit) ... ok
testCreateCommentOnFilePosition (tests.Commit.Commit) ... ok
testCreateStatusWithAllParameters (tests.Commit.Commit) ... ok
testCreateStatusWithoutOptionalParameters (tests.Commit.Commit) ... ok
testGetComments (tests.Commit.Commit) ... ok
testAttributes (tests.CommitCombinedStatus.CommitCombinedStatus) ... ok
testAttributes (tests.CommitComment.CommitComment) ... ok
testCreateReaction (tests.CommitComment.CommitComment) ... ok
testDelete (tests.CommitComment.CommitComment) ... ok
testEdit (tests.CommitComment.CommitComment) ... ok
testGetReactions (tests.CommitComment.CommitComment) ... ok
testAttributes (tests.CommitStatus.CommitStatus) ... ok
testDidNotUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testDidUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testUpdateObjectWithoutEtag (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testAttributes (tests.ContentFile.ContentFile) ... ok
testAttributes (tests.Download.Download) ... ok
testDelete (tests.Download.Download) ... ok
testHttp (tests.Enterprise.Enterprise) ... ok
testHttps (tests.Enterprise.Enterprise) ... ok
testLongUrl (tests.Enterprise.Enterprise) ... ok
testSpecificPort (tests.Enterprise.Enterprise) ... ok
testUnknownUrlScheme (tests.Enterprise.Enterprise) ... ok
testBranchEquality (tests.Equality.Equality) ... ok
testUserDifference (tests.Equality.Equality) ... ok
testUserEquality (tests.Equality.Equality) ... ok
testAttributes (tests.Event.Event) ... ok
testBadAuthentication (tests.Exceptions.Exceptions) ... ok
testExceptionPickling (tests.Exceptions.Exceptions) ... ok
testInvalidInput (tests.Exceptions.Exceptions) ... ok
testNonJsonDataReturnedByGithub (tests.Exceptions.Exceptions) ... ok
testUnknownObject (tests.Exceptions.Exceptions) ... ok
testUnknownUser (tests.Exceptions.Exceptions) ... ok
testAllClasses (tests.ExposeAllAttributes.ExposeAllAttributes) ... ok
testAttributes (tests.Gist.Gist) ... ok
testCreateComment (tests.Gist.Gist) ... ok
testDelete (tests.Gist.Gist) ... ok
testDeleteFile (tests.Gist.Gist) ... ok
testEditWithAllParameters (tests.Gist.Gist) ... ok
testEditWithoutParameters (tests.Gist.Gist) ... ok
testFork (tests.Gist.Gist) ... ok
testGetComments (tests.Gist.Gist) ... ok
testRenameFile (tests.Gist.Gist) ... ok
testStarring (tests.Gist.Gist) ... ok
testAttributes (tests.GistComment.GistComment) ... ok
testDelete (tests.GistComment.GistComment) ... ok
testEdit (tests.GistComment.GistComment) ... ok
testAttributes (tests.GitBlob.GitBlob) ... ok
testAttributes (tests.GitCommit.GitCommit) ... ok
testAttributes (tests.GitRef.GitRef) ... ok
testDelete (tests.GitRef.GitRef) ... ok
testEdit (tests.GitRef.GitRef) ... ok
testEditWithForce (tests.GitRef.GitRef) ... ok
testAttributes (tests.GitTag.GitTag) ... ok
testAttributes (tests.GitTree.GitTree) ... ok
testGetEmojis (tests.Github_.Github) ... ok
testGetGists (tests.Github_.Github) ... ok
testGetGistsWithSince (tests.Github_.Github) ... ok
testGetGitignoreTemplate (tests.Github_.Github) ... ok
testGetGitignoreTemplates (tests.Github_.Github) ... ok
testGetHook (tests.Github_.Github) ... ok
testGetHooks (tests.Github_.Github) ... ok
testGetLicense (tests.Github_.Github) ... ok
testGetLicenses (tests.Github_.Github) ... ok
testGetOrganizations (tests.Github_.Github) ... ok
testGetOrganizationsSince (tests.Github_.Github) ... ok
testGetRepoFromFullName (tests.Github_.Github) ... ok
testGetRepoFromId (tests.Github_.Github) ... ok
testGetRepos (tests.Github_.Github) ... ok
testGetReposSince (tests.Github_.Github) ... ok
testGetUsers (tests.Github_.Github) ... ok
testGetUsersSince (tests.Github_.Github) ... ok
testStringOfNotSet (tests.Github_.Github) ... ok
testCreateJWT (tests.GithubIntegration.GithubIntegration) ... ok
testGetAccessToken (tests.GithubIntegration.GithubIntegration) ... ok
testAttributes (tests.Hook.Hook) ... ok
testDelete (tests.Hook.Hook) ... ok
testEditWithAllParameters (tests.Hook.Hook) ... ok
testEditWithMinimalParameters (tests.Hook.Hook) ... ok
testPing (tests.Hook.Hook) ... ok
testTest (tests.Hook.Hook) ... ok
testAddAndRemoveAssignees (tests.Issue.Issue) ... ok
testAddAndRemoveLabels (tests.Issue.Issue) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.Issue.Issue) ... ok
testAttributes (tests.Issue.Issue) ... ok
testCreateComment (tests.Issue.Issue) ... ok
testCreateReaction (tests.Issue.Issue) ... ok
testDeleteAndSetLabels (tests.Issue.Issue) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.Issue.Issue) ... ok
testEditResetAssignee (tests.Issue.Issue) ... ok
testEditResetMilestone (tests.Issue.Issue) ... ok
testEditWithAllParameters (tests.Issue.Issue) ... ok
testEditWithoutParameters (tests.Issue.Issue) ... ok
testGetComments (tests.Issue.Issue) ... ok
testGetCommentsSince (tests.Issue.Issue) ... ok
testGetEvents (tests.Issue.Issue) ... ok
testGetLabels (tests.Issue.Issue) ... ok
testGetReactions (tests.Issue.Issue) ... ok
testLock (tests.Issue.Issue) ... ERROR
ERROR
testUnlock (tests.Issue.Issue) ... ERROR
ERROR
testGetPullWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPullsWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPageWithoutInitialArguments (tests.Issue133.Issue133) ... ok
testGetAuthorizationsFailsWhenAutenticatedThroughOAuth (tests.Issue134.Issue134) ... ok
testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword (tests.Issue134.Issue134) ... ok
testGetOAuthScopesFromHeader (tests.Issue134.Issue134) ... ok
testCompletion (tests.Issue139.Issue139) ... ok
testGetDirContentsThenLazyCompletionOfFile (tests.Issue140.Issue140) ... ok
testGetDirContentsWithRef (tests.Issue140.Issue140) ... ok
testGetFileContents (tests.Issue140.Issue140) ... ok
testDecodeJson (tests.Issue142.Issue142) ... ok
testPaginationWithSecretKeyAuthentication (tests.Issue158.Issue158) ... ok
testGetDirContentsWhithHttpRedirect (tests.Issue174.Issue174) ... ok
testAssignees (tests.Issue214.Issue214) ... ok
testCollaborators (tests.Issue214.Issue214) ... ok
testCreateIssue (tests.Issue214.Issue214) ... ok
testEditIssue (tests.Issue214.Issue214) ... ok
testGetIssues (tests.Issue214.Issue214) ... ok
testIteration (tests.Issue216.Issue216) ... ok
testIteration (tests.Issue278.Issue278) ... ok
testClosedIssues (tests.Issue33.Issue33) ... ok
testOpenIssues (tests.Issue33.Issue33) ... ok
testRepr (tests.Issue494.Issue494) ... ok
testAddLabelToIssue (tests.Issue50.Issue50) ... ok
testCreateIssueWithLabel (tests.Issue50.Issue50) ... ok
testCreateLabel (tests.Issue50.Issue50) ... ok
testGetIssuesWithLabel (tests.Issue50.Issue50) ... ok
testGetLabel (tests.Issue50.Issue50) ... ok
testGetLabels (tests.Issue50.Issue50) ... ok
testIssueGetLabels (tests.Issue50.Issue50) ... ok
testIssueLabels (tests.Issue50.Issue50) ... ok
testRemoveLabelFromIssue (tests.Issue50.Issue50) ... ok
testSetIssueLabels (tests.Issue50.Issue50) ... ok
testConversion (tests.Issue54.Issue54) ... ok
testIssueAsPullRequest (tests.Issue572.Issue572) ... ok
testPullReqeustAsIssue (tests.Issue572.Issue572) ... ok
testIgnoreHttpsFromGithubEnterprise (tests.Issue80.Issue80) ... ok
testIgnoreHttpsFromGithubEnterpriseWithPort (tests.Issue80.Issue80) ... ok
testCreateIssueWithEscapedPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithEscapedPercentInTitle (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInTitle (tests.Issue87.Issue87) ... ok
testCollaboratorsAffiliation (tests.Issue937.Issue937) ... ok
testReservedPaginatedListAttributePreservation (tests.Issue945.Issue945) ... ok
testAttributes (tests.IssueComment.IssueComment) ... ok
testCreateReaction (tests.IssueComment.IssueComment) ... ok
testDelete (tests.IssueComment.IssueComment) ... ok
testEdit (tests.IssueComment.IssueComment) ... ok
testGetReactions (tests.IssueComment.IssueComment) ... ok
testEvent_added_to_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_assigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_base_ref_changed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_closed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_converted_note_to_issue_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_demilestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_deleted_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_restored_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_labeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_locked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_marked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_mentioned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_merged_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_milestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_moved_columns_in_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_referenced_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_removed_from_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_renamed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_reopened_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_dismissed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_request_removed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_requested_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_subscribed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unassigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlabeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlocked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unmarked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testAttributes (tests.Label.Label) ... ok
testDelete (tests.Label.Label) ... ok
testEdit (tests.Label.Label) ... ok
testGetIssues (tests.Repository.LazyRepository) ... ok
testOwner (tests.Repository.LazyRepository) ... ok
testAttributes (tests.License.License) ... ok
testLoggingWithBaseUrl (tests.Logging_.Logging) ... ok
testLoggingWithBasicAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithOAuthAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithoutAuthentication (tests.Logging_.Logging) ... ok
testRenderGithubFlavoredMarkdown (tests.Markdown.Markdown) ... ok
testRenderMarkdown (tests.Markdown.Markdown) ... ok
testAttributes (tests.Migration.Migration) ... ok
testDelete (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenDeleted (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenExported (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenNotExported (tests.Migration.Migration) ... ok
testGetStatus (tests.Migration.Migration) ... ok
testUnlockRepo (tests.Migration.Migration) ... ok
testAttributes (tests.Milestone.Milestone) ... ok
testDelete (tests.Milestone.Milestone) ... ok
testEditWithAllParameters (tests.Milestone.Milestone) ... ok
testEditWithMinimalParameters (tests.Milestone.Milestone) ... ok
testGetLabels (tests.Milestone.Milestone) ... ok
testAttributesOfOtherUser (tests.NamedUser.NamedUser) ... ok
testAttributesOfSelf (tests.NamedUser.NamedUser) ... ok
testGetEvents (tests.NamedUser.NamedUser) ... ok
testGetFollowers (tests.NamedUser.NamedUser) ... ok
testGetFollowing (tests.NamedUser.NamedUser) ... ok
testGetGists (tests.NamedUser.NamedUser) ... ok
testGetKeys (tests.NamedUser.NamedUser) ... ok
testGetOrgs (tests.NamedUser.NamedUser) ... ok
testGetPublicEvents (tests.NamedUser.NamedUser) ... ok
testGetPublicReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetRepo (tests.NamedUser.NamedUser) ... ok
testGetRepos (tests.NamedUser.NamedUser) ... ok
testGetReposWithType (tests.NamedUser.NamedUser) ... ok
testGetStarred (tests.NamedUser.NamedUser) ... ok
testGetSubscriptions (tests.NamedUser.NamedUser) ... ok
testGetWatched (tests.NamedUser.NamedUser) ... ok
testHasInFollowing (tests.NamedUser.NamedUser) ... ok
testUserEquality (tests.NamedUser.NamedUser) ... ok
testMarkAsRead (tests.Notification.Notification) ... ok
testAddMembersAdminRole (tests.Organization.Organization) ... ok
testAddMembersDefaultRole (tests.Organization.Organization) ... ok
testAttributes (tests.Organization.Organization) ... ok
testCreateFork (tests.Organization.Organization) ... ok
testCreateHookWithAllParameters (tests.Organization.Organization) ... ok
testCreateHookWithMinimalParameters (tests.Organization.Organization) ... ok
testCreateMigration (tests.Organization.Organization) ... ok
testCreateRepoWithAllArguments (tests.Organization.Organization) ... ok
testCreateRepoWithMinimalArguments (tests.Organization.Organization) ... ok
testCreateRepositoryWithAutoInit (tests.Organization.Organization) ... ok
testCreateTeam (tests.Organization.Organization) ... ok
testCreateTeamWithAllArguments (tests.Organization.Organization) ... ok
testDeleteHook (tests.Organization.Organization) ... ok
testEditHookWithAllParameters (tests.Organization.Organization) ... ok
testEditHookWithMinimalParameters (tests.Organization.Organization) ... ok
testEditWithAllArguments (tests.Organization.Organization) ... ok
testEditWithoutArguments (tests.Organization.Organization) ... ok
testGetEvents (tests.Organization.Organization) ... ok
testGetHooks (tests.Organization.Organization) ... ok
testGetIssues (tests.Organization.Organization) ... ok
testGetIssuesWithAllArguments (tests.Organization.Organization) ... ok
testGetMembers (tests.Organization.Organization) ... ok
testGetMigrations (tests.Organization.Organization) ... ok
testGetOutsideCollaborators (tests.Organization.Organization) ... ok
testGetPublicMembers (tests.Organization.Organization) ... ok
testGetRepos (tests.Organization.Organization) ... ok
testGetReposWithType (tests.Organization.Organization) ... ok
testGetTeams (tests.Organization.Organization) ... ok
testInviteUserAsNonOwner (tests.Organization.Organization) ... ok
testInviteUserByEmail (tests.Organization.Organization) ... ok
testInviteUserByName (tests.Organization.Organization) ... ok
testInviteUserWithBoth (tests.Organization.Organization) ... ok
testInviteUserWithNeither (tests.Organization.Organization) ... ok
testInviteUserWithRoleAndTeam (tests.Organization.Organization) ... ok
testMembers (tests.Organization.Organization) ... ok
testOutsideCollaborators (tests.Organization.Organization) ... ok
testPublicMembers (tests.Organization.Organization) ... ok
testHasInMembers (tests.OrganizationHasInMembers.OrganizationHasInMembers) ... ok
testCustomPerPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithGetPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams2 (tests.PaginatedList.PaginatedList) ... ok
testGetFirstPage (tests.PaginatedList.PaginatedList) ... ok
testGetThirdPage (tests.PaginatedList.PaginatedList) ... ok
testGettingTheReversedListDoesNotModifyTheOriginalList (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingAfterIteration (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInThirdPage (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIteration (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIterationInSlice (tests.PaginatedList.PaginatedList) ... ok
testIteration (tests.PaginatedList.PaginatedList) ... ok
testNoFirstPage (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationSupportsIterator (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithMultiplePages (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithSinglePage (tests.PaginatedList.PaginatedList) ... ok
testSeveralIterations (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilEnd (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilFourthPage (tests.PaginatedList.PaginatedList) ... ok
testLoad (tests.Persistence.Persistence) ... ok
testLoadAndUpdate (tests.Persistence.Persistence) ... ok
testCreateCardFromIssue (tests.Project.Project) ... ok
testCreateCardWithNote (tests.Project.Project) ... ok
testCreateColumn (tests.Project.Project) ... ok
testGetAllProjectCards (tests.Project.Project) ... ok
testGetOrganizationProjects (tests.Project.Project) ... ok
testGetProject (tests.Project.Project) ... ok
testGetProjectCardContent (tests.Project.Project) ... ok
testGetRepositoryProjects (tests.Project.Project) ... ok
testProjectAttributes (tests.Project.Project) ... ok
testProjectCardAttributes (tests.Project.Project) ... ok
testProjectColumnAttributes (tests.Project.Project) ... ok
testAddAndRemoveLabels (tests.PullRequest.PullRequest) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequest.PullRequest) ... ok
testAttributesIssue256 (tests.PullRequest.PullRequest) ... ok
testCreateComment (tests.PullRequest.PullRequest) ... ok
testCreateIssueComment (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabels (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testEditWithAllArguments (tests.PullRequest.PullRequest) ... ok
testEditWithoutArguments (tests.PullRequest.PullRequest) ... ok
testGetComments (tests.PullRequest.PullRequest) ... ok
testGetCommits (tests.PullRequest.PullRequest) ... ok
testGetFiles (tests.PullRequest.PullRequest) ... ok
testGetIssueComment (tests.PullRequest.PullRequest) ... ok
testGetIssueComments (tests.PullRequest.PullRequest) ... ok
testGetLabels (tests.PullRequest.PullRequest) ... ok
testGetReviewComments (tests.PullRequest.PullRequest) ... ok
testMerge (tests.PullRequest.PullRequest) ... ok
testMergeWithCommitMessage (tests.PullRequest.PullRequest) ... ok
testReviewRequests (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequestComment.PullRequestComment) ... ok
testCreateReaction (tests.PullRequestComment.PullRequestComment) ... ok
testDelete (tests.PullRequestComment.PullRequestComment) ... ok
testEdit (tests.PullRequestComment.PullRequestComment) ... ok
testGetReactions (tests.PullRequestComment.PullRequestComment) ... ok
testAttributes (tests.PullRequestFile.PullRequestFile) ... ok
testAttributes (tests.PullRequestReview.PullRequestReview) ... ok
testDismiss (tests.PullRequestReview.PullRequestReview) ... ok
testGetRateLimit (tests.RateLimiting.RateLimiting) ... ok
testRateLimiting (tests.RateLimiting.RateLimiting) ... ok
testResetTime (tests.RateLimiting.RateLimiting) ... ok
testCompletedObject (tests.RawData.RawData) ... ok
testCreateObjectFromRawData (tests.RawData.RawData) ... ok
testNonCompletableObject (tests.RawData.RawData) ... ok
testNotYetCompletedObject (tests.RawData.RawData) ... ok
testAttributes (tests.Reaction.Reaction) ... ok
testDelete (tests.Reaction.Reaction) ... ok
testAttributes (tests.GitRelease.Release) ... ok
testCreateGitTagAndRelease (tests.GitRelease.Release) ... ok
testDelete (tests.GitRelease.Release) ... ok
testGetAsset (tests.GitRelease.Release) ... ok
testGetAssets (tests.GitRelease.Release) ... ok
testGetLatestRelease (tests.GitRelease.Release) ... ok
testGetRelease (tests.GitRelease.Release) ... ok
testUpdate (tests.GitRelease.Release) ... ok
testUploadAsset (tests.GitRelease.Release) ... ok
testAttributes (tests.GitReleaseAsset.ReleaseAsset) ... ok
testDelete (tests.GitReleaseAsset.ReleaseAsset) ... ok
testUpdate (tests.GitReleaseAsset.ReleaseAsset) ... ok
testAttributes (tests.RepositoryKey.RepositoryKey) ... ok
testDelete (tests.RepositoryKey.RepositoryKey) ... ok
testAttributes (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testOrganizationOwnedTeam (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testAttributes (tests.RequiredStatusChecks.RequiredStatusChecks) ... ok
testRaisesRetryErrorAfterMaxRetries (tests.Retry.Retry) ... ok
testReturnsRepoAfter1Retry (tests.Retry.Retry) ... ok
testReturnsRepoAfter3Retries (tests.Retry.Retry) ... ok
testShouldNotRetryWhenStatusNotOnList (tests.Retry.Retry) ... ok
testGetPageOnSearchUsers (tests.Search.Search) ... ok
testPaginateSearchCommits (tests.Search.Search) ... ok
testPaginateSearchTopics (tests.Search.Search) ... ok
testPaginateSearchUsers (tests.Search.Search) ... ok
testSearchCode (tests.Search.Search) ... ok
testSearchHighlightingCode (tests.Search.Search) ... ok
testSearchIssues (tests.Search.Search) ... ok
testSearchRepos (tests.Search.Search) ... ok
testSearchReposWithNoResults (tests.Search.Search) ... ok
testSearchTopics (tests.Search.Search) ... ok
testSearchUsers (tests.Search.Search) ... ok
testUrlquotingOfQualifiers (tests.Search.Search) ... ok
testUrlquotingOfQuery (tests.Search.Search) ... ok
testAttributes (tests.SourceImport.SourceImport) ... ok
testAuthenticatedRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testBadCredentials (tests.Exceptions.SpecificExceptions) ... ok
testBadUserAgent (tests.Exceptions.SpecificExceptions) ... ok
testRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testUnknownObject (tests.Exceptions.SpecificExceptions) ... ok
testAttributes (tests.Tag.Tag) ... ok
testAttributes (tests.Team.Team) ... ok
testDelete (tests.Team.Team) ... ok
testEditWithAllArguments (tests.Team.Team) ... ok
testEditWithoutArguments (tests.Team.Team) ... ok
testMembers (tests.Team.Team) ... ok
testRepoPermission (tests.Team.Team) ... ok
testRepos (tests.Team.Team) ... ok
testGetClones (tests.Traffic.Traffic) ... ok
testGetPaths (tests.Traffic.Traffic) ... ok
testGetReferrers (tests.Traffic.Traffic) ... ok
testGetViews (tests.Traffic.Traffic) ... ok
testAttributes (tests.UserKey.UserKey) ... ok
testDelete (tests.UserKey.UserKey) ... ok

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 97, in testLock
    self.issue.lock("resolved")
  File "/home/travis/build/PyGithub/PyGithub/github/Issue.py", line 374, in lock
    headers={'Accept': Consts.mediaTypeLockReasonPreview}
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 405, in __requestRaw
    cnx = self.__createConnection()
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 473, in __createConnection
    self.__connection = self.__connectionClass(self.__hostname, self.__port, retry = self.__retry, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 287, in <lambda>
    lambda ignored, *args, **kwds: ReplayingHttpsConnection(self, self.__openFile("rb"), *args, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 313, in __openFile
    self.__file = open(self.__fileName, mode)
IOError: [Errno 2] No such file or directory: '/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Issue.testLock.txt'

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 58, in readLine
    return file.readline().strip()
ValueError: I/O operation on closed file

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 100, in testUnlock
    self.issue.unlock()
  File "/home/travis/build/PyGithub/PyGithub/github/Issue.py", line 384, in unlock
    self.url + "/lock"
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 405, in __requestRaw
    cnx = self.__createConnection()
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 473, in __createConnection
    self.__connection = self.__connectionClass(self.__hostname, self.__port, retry = self.__retry, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 287, in <lambda>
    lambda ignored, *args, **kwds: ReplayingHttpsConnection(self, self.__openFile("rb"), *args, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 313, in __openFile
    self.__file = open(self.__fileName, mode)
IOError: [Errno 2] No such file or directory: '/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Issue.testUnlock.txt'

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 58, in readLine
    return file.readline().strip()
ValueError: I/O operation on closed file

----------------------------------------------------------------------
Ran 463 tests in 20.619s

FAILED (errors=4)
Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>
Coverage.py warning: Module github/tests was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)
error: Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>
The command "coverage run --source github/tests setup.py test" exited with 1.



Done. Your build exited with 1.
coverage run --source github/tests setup.py test
running test
Searching for pyjwt
Reading https://pypi.python.org/simple/pyjwt/
Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl#sha256=5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e
Best match: PyJWT 1.7.1
Processing PyJWT-1.7.1-py2.py3-none-any.whl
Installing PyJWT-1.7.1-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py2.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py2.7.egg
Searching for deprecated
Reading https://pypi.python.org/simple/deprecated/
Downloading https://files.pythonhosted.org/packages/9f/7a/003fa432f1e45625626549726c2fbb7a29baa764e9d1fdb2323a5d779f8a/Deprecated-1.2.5-py2.py3-none-any.whl#sha256=749f6cdcfbdc3f79258f8154bad43fced95adc632c337675d0385959895894bc
Best match: Deprecated 1.2.5
Processing Deprecated-1.2.5-py2.py3-none-any.whl
Installing Deprecated-1.2.5-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py2.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py2.7.egg
Searching for wrapt<2,>=1
Reading https://pypi.python.org/simple/wrapt/
Downloading https://files.pythonhosted.org/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz#sha256=4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533
Best match: wrapt 1.11.1
Processing wrapt-1.11.1.tar.gz
Writing /tmp/easy_install-Ha2I7f/wrapt-1.11.1/setup.cfg
Running wrapt-1.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Ha2I7f/wrapt-1.11.1/egg-dist-tmp-rmXSTV
zip_safe flag not set; analyzing archive contents...
Moving wrapt-1.11.1-py2.7-linux-x86_64.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/wrapt-1.11.1-py2.7-linux-x86_64.egg
Searching for httpretty==0.9.6
Reading https://pypi.python.org/simple/httpretty/
Downloading https://files.pythonhosted.org/packages/6e/84/c779ebe4411195716588b413dd594373144c411762c158b579cf36b37168/httpretty-0.9.6.tar.gz#sha256=01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc
Best match: httpretty 0.9.6
Processing httpretty-0.9.6.tar.gz
Writing /tmp/easy_install-_NnRrn/httpretty-0.9.6/setup.cfg
Running httpretty-0.9.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_NnRrn/httpretty-0.9.6/egg-dist-tmp-heVgNZ
creating /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg
Extracting httpretty-0.9.6-py2.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg
Searching for cryptography
Reading https://pypi.python.org/simple/cryptography/
Downloading https://files.pythonhosted.org/packages/c3/c1/cf8665c955c9393e9ff0872ba6cd3dc6f46ef915e94afcf6e0410508ca69/cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl#sha256=2db34e5c45988f36f7a08a7ab2b69638994a8923853dec2d4af121f689c66dc8
Best match: cryptography 2.6.1
Processing cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl
Installing cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py2.7-linux-x86_64.egg
Searching for ipaddress
Reading https://pypi.python.org/simple/ipaddress/
Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl#sha256=64b28eec5e78e7510698f6d4da08800a5c575caa4a286c93d651c5d3ff7b6794
Best match: ipaddress 1.0.22
Processing ipaddress-1.0.22-py2.py3-none-any.whl
Installing ipaddress-1.0.22-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/ipaddress-1.0.22-py2.7.egg
Searching for enum34
Reading https://pypi.python.org/simple/enum34/
Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl#sha256=6bd0f6ad48ec2aa117d3d141940d484deccda84d4fcd884f5c3d93c23ecd8c79
Best match: enum34 1.1.6
Processing enum34-1.1.6-py2-none-any.whl
Installing enum34-1.1.6-py2-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/enum34-1.1.6-py2.7.egg
Searching for cffi!=1.11.3,>=1.8
Reading https://pypi.python.org/simple/cffi/
Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl#sha256=2444d0c61f03dcd26dbf7600cf64354376ee579acad77aef459e34efcb438c63
Best match: cffi 1.12.3
Processing cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl
Installing cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py2.7-linux-x86_64.egg
Searching for asn1crypto>=0.21.0
Reading https://pypi.python.org/simple/asn1crypto/
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl#sha256=2f1adbb7546ed199e3c90ef23ec95c5cf3585bac7d11fb7eb562a3fe89c64e87
Best match: asn1crypto 0.24.0
Processing asn1crypto-0.24.0-py2.py3-none-any.whl
Installing asn1crypto-0.24.0-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/asn1crypto-0.24.0-py2.7.egg
Searching for pycparser
Reading https://pypi.python.org/simple/pycparser/
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz#sha256=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
Best match: pycparser 2.19
Processing pycparser-2.19.tar.gz
Writing /tmp/easy_install-oE4UtE/pycparser-2.19/setup.cfg
Running pycparser-2.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-oE4UtE/pycparser-2.19/egg-dist-tmp-QDeKFG
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.lex: module references __file__
pycparser.ply.lex: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module references __file__
pycparser.ply.yacc: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module MAY be using inspect.stack
pycparser.ply.ygen: module references __file__
creating /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py2.7.egg
Extracting pycparser-2.19-py2.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py2.7.egg
running egg_info
creating PyGithub.egg-info
writing requirements to PyGithub.egg-info/requires.txt
writing PyGithub.egg-info/PKG-INFO
writing top-level names to PyGithub.egg-info/top_level.txt
writing dependency_links to PyGithub.egg-info/dependency_links.txt
writing manifest file 'PyGithub.egg-info/SOURCES.txt'
reading manifest file 'PyGithub.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PyGithub.egg-info/SOURCES.txt'
running build_ext
testAcceptInvitation (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAttributes (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithClientIdAndSecret (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateFork (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGist (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGistWithoutDescription (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateKey (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateMigration (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepository (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAutoInit (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEmails (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testFollowing (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetAuthorizations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetKeys (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetMigrations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotification (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotifications (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotificationsWithOtherArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrganizationEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrgs (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetRepos (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetReposWithArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetStarredGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetTeams (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testMarkNotificationsAsRead (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testStarring (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testSubscriptions (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testWatching (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAuthorizationHeaderWithLogin (tests.Authentication.Authentication) ... ok
testAuthorizationHeaderWithToken (tests.Authentication.Authentication) ... ok
testBasicAuthentication (tests.Authentication.Authentication) ... ok
testJWTAuthentication (tests.Authentication.Authentication) ... ok
testNoAuthentication (tests.Authentication.Authentication) ... ok
testOAuthAuthentication (tests.Authentication.Authentication) ... ok
testSecretKeyAuthentication (tests.Authentication.Authentication) ... ok
testUserAgent (tests.Authentication.Authentication) ... ok
testAttributes (tests.Authorization.Authorization) ... ok
testDelete (tests.Authorization.Authorization) ... ok
testEdit (tests.Authorization.Authorization) ... ok
testBadAttributeInClassAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadAttributeTransformation (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInDict (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testIssue195 (tests.BadAttributes.BadAttributes) ... ok
testAddRequiredSignatures (tests.Branch.Branch) ... ok
testAdminEnforcement (tests.Branch.Branch) ... ok
testAttributes (tests.Branch.Branch) ... ok
testEditProtection (tests.Branch.Branch) ... ok
testEditProtectionDismissalUsersWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsAndDismissalUser (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers (tests.Branch.Branch) ... ok
testEditRequiredStatusChecks (tests.Branch.Branch) ... ok
testEditTeamPushRestrictions (tests.Branch.Branch) ... ok
testEditUserPushRestrictions (tests.Branch.Branch) ... ok
testGetRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveProtection (tests.Branch.Branch) ... ok
testRemovePushRestrictions (tests.Branch.Branch) ... ok
testRemoveRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testRemoveRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveRequiredStatusChecks (tests.Branch.Branch) ... ok
testAttributes (tests.BranchProtection.BranchProtection) ... ok
testAttributes (tests.Commit.Commit) ... ok
testCreateComment (tests.Commit.Commit) ... ok
testCreateCommentOnFileLine (tests.Commit.Commit) ... ok
testCreateCommentOnFilePosition (tests.Commit.Commit) ... ok
testCreateStatusWithAllParameters (tests.Commit.Commit) ... ok
testCreateStatusWithoutOptionalParameters (tests.Commit.Commit) ... ok
testGetComments (tests.Commit.Commit) ... ok
testAttributes (tests.CommitCombinedStatus.CommitCombinedStatus) ... ok
testAttributes (tests.CommitComment.CommitComment) ... ok
testCreateReaction (tests.CommitComment.CommitComment) ... ok
testDelete (tests.CommitComment.CommitComment) ... ok
testEdit (tests.CommitComment.CommitComment) ... ok
testGetReactions (tests.CommitComment.CommitComment) ... ok
testAttributes (tests.CommitStatus.CommitStatus) ... ok
testDidNotUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testDidUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testUpdateObjectWithoutEtag (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testAttributes (tests.ContentFile.ContentFile) ... ok
testAttributes (tests.Download.Download) ... ok
testDelete (tests.Download.Download) ... ok
testHttp (tests.Enterprise.Enterprise) ... ok
testHttps (tests.Enterprise.Enterprise) ... ok
testLongUrl (tests.Enterprise.Enterprise) ... ok
testSpecificPort (tests.Enterprise.Enterprise) ... ok
testUnknownUrlScheme (tests.Enterprise.Enterprise) ... ok
testBranchEquality (tests.Equality.Equality) ... ok
testUserDifference (tests.Equality.Equality) ... ok
testUserEquality (tests.Equality.Equality) ... ok
testAttributes (tests.Event.Event) ... ok
testBadAuthentication (tests.Exceptions.Exceptions) ... ok
testExceptionPickling (tests.Exceptions.Exceptions) ... ok
testInvalidInput (tests.Exceptions.Exceptions) ... ok
testNonJsonDataReturnedByGithub (tests.Exceptions.Exceptions) ... ok
testUnknownObject (tests.Exceptions.Exceptions) ... ok
testUnknownUser (tests.Exceptions.Exceptions) ... ok
testAllClasses (tests.ExposeAllAttributes.ExposeAllAttributes) ... ok
testAttributes (tests.Gist.Gist) ... ok
testCreateComment (tests.Gist.Gist) ... ok
testDelete (tests.Gist.Gist) ... ok
testDeleteFile (tests.Gist.Gist) ... ok
testEditWithAllParameters (tests.Gist.Gist) ... ok
testEditWithoutParameters (tests.Gist.Gist) ... ok
testFork (tests.Gist.Gist) ... ok
testGetComments (tests.Gist.Gist) ... ok
testRenameFile (tests.Gist.Gist) ... ok
testStarring (tests.Gist.Gist) ... ok
testAttributes (tests.GistComment.GistComment) ... ok
testDelete (tests.GistComment.GistComment) ... ok
testEdit (tests.GistComment.GistComment) ... ok
testAttributes (tests.GitBlob.GitBlob) ... ok
testAttributes (tests.GitCommit.GitCommit) ... ok
testAttributes (tests.GitRef.GitRef) ... ok
testDelete (tests.GitRef.GitRef) ... ok
testEdit (tests.GitRef.GitRef) ... ok
testEditWithForce (tests.GitRef.GitRef) ... ok
testAttributes (tests.GitTag.GitTag) ... ok
testAttributes (tests.GitTree.GitTree) ... ok
testGetEmojis (tests.Github_.Github) ... ok
testGetGists (tests.Github_.Github) ... ok
testGetGistsWithSince (tests.Github_.Github) ... ok
testGetGitignoreTemplate (tests.Github_.Github) ... ok
testGetGitignoreTemplates (tests.Github_.Github) ... ok
testGetHook (tests.Github_.Github) ... ok
testGetHooks (tests.Github_.Github) ... ok
testGetLicense (tests.Github_.Github) ... ok
testGetLicenses (tests.Github_.Github) ... ok
testGetOrganizations (tests.Github_.Github) ... ok
testGetOrganizationsSince (tests.Github_.Github) ... ok
testGetRepoFromFullName (tests.Github_.Github) ... ok
testGetRepoFromId (tests.Github_.Github) ... ok
testGetRepos (tests.Github_.Github) ... ok
testGetReposSince (tests.Github_.Github) ... ok
testGetUsers (tests.Github_.Github) ... ok
testGetUsersSince (tests.Github_.Github) ... ok
testStringOfNotSet (tests.Github_.Github) ... ok
testCreateJWT (tests.GithubIntegration.GithubIntegration) ... ok
testGetAccessToken (tests.GithubIntegration.GithubIntegration) ... ok
testAttributes (tests.Hook.Hook) ... ok
testDelete (tests.Hook.Hook) ... ok
testEditWithAllParameters (tests.Hook.Hook) ... ok
testEditWithMinimalParameters (tests.Hook.Hook) ... ok
testPing (tests.Hook.Hook) ... ok
testTest (tests.Hook.Hook) ... ok
testAddAndRemoveAssignees (tests.Issue.Issue) ... ok
testAddAndRemoveLabels (tests.Issue.Issue) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.Issue.Issue) ... ok
testAttributes (tests.Issue.Issue) ... ok
testCreateComment (tests.Issue.Issue) ... ok
testCreateReaction (tests.Issue.Issue) ... ok
testDeleteAndSetLabels (tests.Issue.Issue) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.Issue.Issue) ... ok
testEditResetAssignee (tests.Issue.Issue) ... ok
testEditResetMilestone (tests.Issue.Issue) ... ok
testEditWithAllParameters (tests.Issue.Issue) ... ok
testEditWithoutParameters (tests.Issue.Issue) ... ok
testGetComments (tests.Issue.Issue) ... ok
testGetCommentsSince (tests.Issue.Issue) ... ok
testGetEvents (tests.Issue.Issue) ... ok
testGetLabels (tests.Issue.Issue) ... ok
testGetReactions (tests.Issue.Issue) ... ok
testLock (tests.Issue.Issue) ... ERROR
ERROR
testUnlock (tests.Issue.Issue) ... ERROR
ERROR
testGetPullWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPullsWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPageWithoutInitialArguments (tests.Issue133.Issue133) ... ok
testGetAuthorizationsFailsWhenAutenticatedThroughOAuth (tests.Issue134.Issue134) ... ok
testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword (tests.Issue134.Issue134) ... ok
testGetOAuthScopesFromHeader (tests.Issue134.Issue134) ... ok
testCompletion (tests.Issue139.Issue139) ... ok
testGetDirContentsThenLazyCompletionOfFile (tests.Issue140.Issue140) ... ok
testGetDirContentsWithRef (tests.Issue140.Issue140) ... ok
testGetFileContents (tests.Issue140.Issue140) ... ok
testDecodeJson (tests.Issue142.Issue142) ... ok
testPaginationWithSecretKeyAuthentication (tests.Issue158.Issue158) ... ok
testGetDirContentsWhithHttpRedirect (tests.Issue174.Issue174) ... ok
testAssignees (tests.Issue214.Issue214) ... ok
testCollaborators (tests.Issue214.Issue214) ... ok
testCreateIssue (tests.Issue214.Issue214) ... ok
testEditIssue (tests.Issue214.Issue214) ... ok
testGetIssues (tests.Issue214.Issue214) ... ok
testIteration (tests.Issue216.Issue216) ... ok
testIteration (tests.Issue278.Issue278) ... ok
testClosedIssues (tests.Issue33.Issue33) ... ok
testOpenIssues (tests.Issue33.Issue33) ... ok
testRepr (tests.Issue494.Issue494) ... ok
testAddLabelToIssue (tests.Issue50.Issue50) ... ok
testCreateIssueWithLabel (tests.Issue50.Issue50) ... ok
testCreateLabel (tests.Issue50.Issue50) ... ok
testGetIssuesWithLabel (tests.Issue50.Issue50) ... ok
testGetLabel (tests.Issue50.Issue50) ... ok
testGetLabels (tests.Issue50.Issue50) ... ok
testIssueGetLabels (tests.Issue50.Issue50) ... ok
testIssueLabels (tests.Issue50.Issue50) ... ok
testRemoveLabelFromIssue (tests.Issue50.Issue50) ... ok
testSetIssueLabels (tests.Issue50.Issue50) ... ok
testConversion (tests.Issue54.Issue54) ... ok
testIssueAsPullRequest (tests.Issue572.Issue572) ... ok
testPullReqeustAsIssue (tests.Issue572.Issue572) ... ok
testIgnoreHttpsFromGithubEnterprise (tests.Issue80.Issue80) ... ok
testIgnoreHttpsFromGithubEnterpriseWithPort (tests.Issue80.Issue80) ... ok
testCreateIssueWithEscapedPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithEscapedPercentInTitle (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInTitle (tests.Issue87.Issue87) ... ok
testCollaboratorsAffiliation (tests.Issue937.Issue937) ... ok
testReservedPaginatedListAttributePreservation (tests.Issue945.Issue945) ... ok
testAttributes (tests.IssueComment.IssueComment) ... ok
testCreateReaction (tests.IssueComment.IssueComment) ... ok
testDelete (tests.IssueComment.IssueComment) ... ok
testEdit (tests.IssueComment.IssueComment) ... ok
testGetReactions (tests.IssueComment.IssueComment) ... ok
testEvent_added_to_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_assigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_base_ref_changed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_closed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_converted_note_to_issue_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_demilestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_deleted_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_restored_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_labeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_locked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_marked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_mentioned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_merged_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_milestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_moved_columns_in_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_referenced_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_removed_from_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_renamed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_reopened_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_dismissed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_request_removed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_requested_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_subscribed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unassigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlabeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlocked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unmarked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testAttributes (tests.Label.Label) ... ok
testDelete (tests.Label.Label) ... ok
testEdit (tests.Label.Label) ... ok
testGetIssues (tests.Repository.LazyRepository) ... ok
testOwner (tests.Repository.LazyRepository) ... ok
testAttributes (tests.License.License) ... ok
testLoggingWithBaseUrl (tests.Logging_.Logging) ... ok
testLoggingWithBasicAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithOAuthAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithoutAuthentication (tests.Logging_.Logging) ... ok
testRenderGithubFlavoredMarkdown (tests.Markdown.Markdown) ... ok
testRenderMarkdown (tests.Markdown.Markdown) ... ok
testAttributes (tests.Migration.Migration) ... ok
testDelete (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenDeleted (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenExported (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenNotExported (tests.Migration.Migration) ... ok
testGetStatus (tests.Migration.Migration) ... ok
testUnlockRepo (tests.Migration.Migration) ... ok
testAttributes (tests.Milestone.Milestone) ... ok
testDelete (tests.Milestone.Milestone) ... ok
testEditWithAllParameters (tests.Milestone.Milestone) ... ok
testEditWithMinimalParameters (tests.Milestone.Milestone) ... ok
testGetLabels (tests.Milestone.Milestone) ... ok
testAttributesOfOtherUser (tests.NamedUser.NamedUser) ... ok
testAttributesOfSelf (tests.NamedUser.NamedUser) ... ok
testGetEvents (tests.NamedUser.NamedUser) ... ok
testGetFollowers (tests.NamedUser.NamedUser) ... ok
testGetFollowing (tests.NamedUser.NamedUser) ... ok
testGetGists (tests.NamedUser.NamedUser) ... ok
testGetKeys (tests.NamedUser.NamedUser) ... ok
testGetOrgs (tests.NamedUser.NamedUser) ... ok
testGetPublicEvents (tests.NamedUser.NamedUser) ... ok
testGetPublicReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetRepo (tests.NamedUser.NamedUser) ... ok
testGetRepos (tests.NamedUser.NamedUser) ... ok
testGetReposWithType (tests.NamedUser.NamedUser) ... ok
testGetStarred (tests.NamedUser.NamedUser) ... ok
testGetSubscriptions (tests.NamedUser.NamedUser) ... ok
testGetWatched (tests.NamedUser.NamedUser) ... ok
testHasInFollowing (tests.NamedUser.NamedUser) ... ok
testUserEquality (tests.NamedUser.NamedUser) ... ok
testMarkAsRead (tests.Notification.Notification) ... ok
testAddMembersAdminRole (tests.Organization.Organization) ... ok
testAddMembersDefaultRole (tests.Organization.Organization) ... ok
testAttributes (tests.Organization.Organization) ... ok
testCreateFork (tests.Organization.Organization) ... ok
testCreateHookWithAllParameters (tests.Organization.Organization) ... ok
testCreateHookWithMinimalParameters (tests.Organization.Organization) ... ok
testCreateMigration (tests.Organization.Organization) ... ok
testCreateRepoWithAllArguments (tests.Organization.Organization) ... ok
testCreateRepoWithMinimalArguments (tests.Organization.Organization) ... ok
testCreateRepositoryWithAutoInit (tests.Organization.Organization) ... ok
testCreateTeam (tests.Organization.Organization) ... ok
testCreateTeamWithAllArguments (tests.Organization.Organization) ... ok
testDeleteHook (tests.Organization.Organization) ... ok
testEditHookWithAllParameters (tests.Organization.Organization) ... ok
testEditHookWithMinimalParameters (tests.Organization.Organization) ... ok
testEditWithAllArguments (tests.Organization.Organization) ... ok
testEditWithoutArguments (tests.Organization.Organization) ... ok
testGetEvents (tests.Organization.Organization) ... ok
testGetHooks (tests.Organization.Organization) ... ok
testGetIssues (tests.Organization.Organization) ... ok
testGetIssuesWithAllArguments (tests.Organization.Organization) ... ok
testGetMembers (tests.Organization.Organization) ... ok
testGetMigrations (tests.Organization.Organization) ... ok
testGetOutsideCollaborators (tests.Organization.Organization) ... ok
testGetPublicMembers (tests.Organization.Organization) ... ok
testGetRepos (tests.Organization.Organization) ... ok
testGetReposWithType (tests.Organization.Organization) ... ok
testGetTeams (tests.Organization.Organization) ... ok
testInviteUserAsNonOwner (tests.Organization.Organization) ... ok
testInviteUserByEmail (tests.Organization.Organization) ... ok
testInviteUserByName (tests.Organization.Organization) ... ok
testInviteUserWithBoth (tests.Organization.Organization) ... ok
testInviteUserWithNeither (tests.Organization.Organization) ... ok
testInviteUserWithRoleAndTeam (tests.Organization.Organization) ... ok
testMembers (tests.Organization.Organization) ... ok
testOutsideCollaborators (tests.Organization.Organization) ... ok
testPublicMembers (tests.Organization.Organization) ... ok
testHasInMembers (tests.OrganizationHasInMembers.OrganizationHasInMembers) ... ok
testCustomPerPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithGetPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams2 (tests.PaginatedList.PaginatedList) ... ok
testGetFirstPage (tests.PaginatedList.PaginatedList) ... ok
testGetThirdPage (tests.PaginatedList.PaginatedList) ... ok
testGettingTheReversedListDoesNotModifyTheOriginalList (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingAfterIteration (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInThirdPage (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIteration (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIterationInSlice (tests.PaginatedList.PaginatedList) ... ok
testIteration (tests.PaginatedList.PaginatedList) ... ok
testNoFirstPage (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationSupportsIterator (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithMultiplePages (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithSinglePage (tests.PaginatedList.PaginatedList) ... ok
testSeveralIterations (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilEnd (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilFourthPage (tests.PaginatedList.PaginatedList) ... ok
testLoad (tests.Persistence.Persistence) ... ok
testLoadAndUpdate (tests.Persistence.Persistence) ... ok
testCreateCardFromIssue (tests.Project.Project) ... ok
testCreateCardWithNote (tests.Project.Project) ... ok
testCreateColumn (tests.Project.Project) ... ok
testGetAllProjectCards (tests.Project.Project) ... ok
testGetOrganizationProjects (tests.Project.Project) ... ok
testGetProject (tests.Project.Project) ... ok
testGetProjectCardContent (tests.Project.Project) ... ok
testGetRepositoryProjects (tests.Project.Project) ... ok
testProjectAttributes (tests.Project.Project) ... ok
testProjectCardAttributes (tests.Project.Project) ... ok
testProjectColumnAttributes (tests.Project.Project) ... ok
testAddAndRemoveLabels (tests.PullRequest.PullRequest) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequest.PullRequest) ... ok
testAttributesIssue256 (tests.PullRequest.PullRequest) ... ok
testCreateComment (tests.PullRequest.PullRequest) ... ok
testCreateIssueComment (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabels (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testEditWithAllArguments (tests.PullRequest.PullRequest) ... ok
testEditWithoutArguments (tests.PullRequest.PullRequest) ... ok
testGetComments (tests.PullRequest.PullRequest) ... ok
testGetCommits (tests.PullRequest.PullRequest) ... ok
testGetFiles (tests.PullRequest.PullRequest) ... ok
testGetIssueComment (tests.PullRequest.PullRequest) ... ok
testGetIssueComments (tests.PullRequest.PullRequest) ... ok
testGetLabels (tests.PullRequest.PullRequest) ... ok
testGetReviewComments (tests.PullRequest.PullRequest) ... ok
testMerge (tests.PullRequest.PullRequest) ... ok
testMergeWithCommitMessage (tests.PullRequest.PullRequest) ... ok
testReviewRequests (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequestComment.PullRequestComment) ... ok
testCreateReaction (tests.PullRequestComment.PullRequestComment) ... ok
testDelete (tests.PullRequestComment.PullRequestComment) ... ok
testEdit (tests.PullRequestComment.PullRequestComment) ... ok
testGetReactions (tests.PullRequestComment.PullRequestComment) ... ok
testAttributes (tests.PullRequestFile.PullRequestFile) ... ok
testAttributes (tests.PullRequestReview.PullRequestReview) ... ok
testDismiss (tests.PullRequestReview.PullRequestReview) ... ok
testGetRateLimit (tests.RateLimiting.RateLimiting) ... ok
testRateLimiting (tests.RateLimiting.RateLimiting) ... ok
testResetTime (tests.RateLimiting.RateLimiting) ... ok
testCompletedObject (tests.RawData.RawData) ... ok
testCreateObjectFromRawData (tests.RawData.RawData) ... ok
testNonCompletableObject (tests.RawData.RawData) ... ok
testNotYetCompletedObject (tests.RawData.RawData) ... ok
testAttributes (tests.Reaction.Reaction) ... ok
testDelete (tests.Reaction.Reaction) ... ok
testAttributes (tests.GitRelease.Release) ... ok
testCreateGitTagAndRelease (tests.GitRelease.Release) ... ok
testDelete (tests.GitRelease.Release) ... ok
testGetAsset (tests.GitRelease.Release) ... ok
testGetAssets (tests.GitRelease.Release) ... ok
testGetLatestRelease (tests.GitRelease.Release) ... ok
testGetRelease (tests.GitRelease.Release) ... ok
testUpdate (tests.GitRelease.Release) ... ok
testUploadAsset (tests.GitRelease.Release) ... ok
testAttributes (tests.GitReleaseAsset.ReleaseAsset) ... ok
testDelete (tests.GitReleaseAsset.ReleaseAsset) ... ok
testUpdate (tests.GitReleaseAsset.ReleaseAsset) ... ok
testAttributes (tests.RepositoryKey.RepositoryKey) ... ok
testDelete (tests.RepositoryKey.RepositoryKey) ... ok
testAttributes (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testOrganizationOwnedTeam (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testAttributes (tests.RequiredStatusChecks.RequiredStatusChecks) ... ok
testRaisesRetryErrorAfterMaxRetries (tests.Retry.Retry) ... ok
testReturnsRepoAfter1Retry (tests.Retry.Retry) ... ok
testReturnsRepoAfter3Retries (tests.Retry.Retry) ... ok
testShouldNotRetryWhenStatusNotOnList (tests.Retry.Retry) ... ok
testGetPageOnSearchUsers (tests.Search.Search) ... ok
testPaginateSearchCommits (tests.Search.Search) ... ok
testPaginateSearchTopics (tests.Search.Search) ... ok
testPaginateSearchUsers (tests.Search.Search) ... ok
testSearchCode (tests.Search.Search) ... ok
testSearchHighlightingCode (tests.Search.Search) ... ok
testSearchIssues (tests.Search.Search) ... ok
testSearchRepos (tests.Search.Search) ... ok
testSearchReposWithNoResults (tests.Search.Search) ... ok
testSearchTopics (tests.Search.Search) ... ok
testSearchUsers (tests.Search.Search) ... ok
testUrlquotingOfQualifiers (tests.Search.Search) ... ok
testUrlquotingOfQuery (tests.Search.Search) ... ok
testAttributes (tests.SourceImport.SourceImport) ... ok
testAuthenticatedRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testBadCredentials (tests.Exceptions.SpecificExceptions) ... ok
testBadUserAgent (tests.Exceptions.SpecificExceptions) ... ok
testRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testUnknownObject (tests.Exceptions.SpecificExceptions) ... ok
testAttributes (tests.Tag.Tag) ... ok
testAttributes (tests.Team.Team) ... ok
testDelete (tests.Team.Team) ... ok
testEditWithAllArguments (tests.Team.Team) ... ok
testEditWithoutArguments (tests.Team.Team) ... ok
testMembers (tests.Team.Team) ... ok
testRepoPermission (tests.Team.Team) ... ok
testRepos (tests.Team.Team) ... ok
testGetClones (tests.Traffic.Traffic) ... ok
testGetPaths (tests.Traffic.Traffic) ... ok
testGetReferrers (tests.Traffic.Traffic) ... ok
testGetViews (tests.Traffic.Traffic) ... ok
testAttributes (tests.UserKey.UserKey) ... ok
testDelete (tests.UserKey.UserKey) ... ok

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 97, in testLock
    self.issue.lock("resolved")
  File "/home/travis/build/PyGithub/PyGithub/github/Issue.py", line 374, in lock
    headers={'Accept': Consts.mediaTypeLockReasonPreview}
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 405, in __requestRaw
    cnx = self.__createConnection()
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 473, in __createConnection
    self.__connection = self.__connectionClass(self.__hostname, self.__port, retry = self.__retry, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 287, in <lambda>
    lambda ignored, *args, **kwds: ReplayingHttpsConnection(self, self.__openFile("rb"), *args, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 313, in __openFile
    self.__file = open(self.__fileName, mode)
IOError: [Errno 2] No such file or directory: '/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Issue.testLock.txt'

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 58, in readLine
    return file.readline().strip()
ValueError: I/O operation on closed file

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 100, in testUnlock
    self.issue.unlock()
  File "/home/travis/build/PyGithub/PyGithub/github/Issue.py", line 384, in unlock
    self.url + "/lock"
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 405, in __requestRaw
    cnx = self.__createConnection()
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 473, in __createConnection
    self.__connection = self.__connectionClass(self.__hostname, self.__port, retry = self.__retry, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 287, in <lambda>
    lambda ignored, *args, **kwds: ReplayingHttpsConnection(self, self.__openFile("rb"), *args, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 313, in __openFile
    self.__file = open(self.__fileName, mode)
IOError: [Errno 2] No such file or directory: '/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Issue.testUnlock.txt'

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 58, in readLine
    return file.readline().strip()
ValueError: I/O operation on closed file

----------------------------------------------------------------------
Ran 463 tests in 20.619s

FAILED (errors=4)
Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>
Coverage.py warning: Module github/tests was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)
error: Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>

4th Build

View build log

if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then python -m lib2to3 -w -n tests; fi
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored tests/AllTests.py
--- tests/AllTests.py	(original)
+++ tests/AllTests.py	(refactored)
@@ -40,89 +40,89 @@
 #                                                                              #
 ################################################################################
 
-from AuthenticatedUser import *
-from Authentication import *
-from Authorization import *
-from Branch import *
-from BranchProtection import *
-from Commit import *
-from CommitCombinedStatus import *
-from CommitComment import *
-from CommitStatus import *
-from ContentFile import *
-from Download import *
-from Event import *
-from Gist import *
-from GistComment import *
-from GitBlob import *
-from GitCommit import *
-from Github_ import *
-from GitRef import *
-from GitRelease import *
-from GitReleaseAsset import *
-from GitTag import *
-from GitTree import *
-from Hook import *
-from Issue import *
-from IssueComment import *
-from Reaction import *
-from IssueEvent import *
-from License import *
-from Label import *
-from Milestone import *
-from NamedUser import *
-from Markdown import *
-from Notification import *
-from OrganizationHasInMembers import *
-from Organization import *
-from Project import *
-from PullRequest import *
-from PullRequestComment import *
-from PullRequestReview import *
-from PullRequestFile import *
-from RateLimiting import *
-from Repository import *
-from RepositoryKey import *
-from RequiredPullRequestReviews import *
-from RequiredStatusChecks import *
-from SourceImport import *
-from Tag import *
-from Team import *
-from Traffic import *
-from UserKey import *
-from Migration import *
-from GithubIntegration import *
+from .AuthenticatedUser import *
+from .Authentication import *
+from .Authorization import *
+from .Branch import *
+from .BranchProtection import *
+from .Commit import *
+from .CommitCombinedStatus import *
+from .CommitComment import *
+from .CommitStatus import *
+from .ContentFile import *
+from .Download import *
+from .Event import *
+from .Gist import *
+from .GistComment import *
+from .GitBlob import *
+from .GitCommit import *
+from .Github_ import *
+from .GitRef import *
+from .GitRelease import *
+from .GitReleaseAsset import *
+from .GitTag import *
+from .GitTree import *
+from .Hook import *
+from .Issue import *
+from .IssueComment import *
+from .Reaction import *
+from .IssueEvent import *
+from .License import *
+from .Label import *
+from .Milestone import *
+from .NamedUser import *
+from .Markdown import *
+from .Notification import *
+from .OrganizationHasInMembers import *
+from .Organization import *
+from .Project import *
+from .PullRequest import *
+from .PullRequestComment import *
+from .PullRequestReview import *
+from .PullRequestFile import *
+from .RateLimiting import *
+from .Repository import *
+from .RepositoryKey import *
+from .RequiredPullRequestReviews import *
+from .RequiredStatusChecks import *
+from .SourceImport import *
+from .Tag import *
+from .Team import *
+from .Traffic import *
+from .UserKey import *
+from .Migration import *
+from .GithubIntegration import *
 
-from PaginatedList import *
-from Exceptions import *
-from Enterprise import *
-from Logging_ import *
-from RawData import *
-from ConditionalRequestUpdate import *
-from Persistence import *
-from ExposeAllAttributes import *
-from BadAttributes import *
-from Equality import *
-from Search import *
-from Retry import *
+from .PaginatedList import *
+from .Exceptions import *
+from .Enterprise import *
+from .Logging_ import *
+from .RawData import *
+from .ConditionalRequestUpdate import *
+from .Persistence import *
+from .ExposeAllAttributes import *
+from .BadAttributes import *
+from .Equality import *
+from .Search import *
+from .Retry import *
 
-from Issue33 import *
-from Issue50 import *
-from Issue54 import *
-from Issue80 import *
-from Issue87 import *
-from Issue131 import *
-from Issue133 import *
-from Issue134 import *
-from Issue139 import *
-from Issue140 import *
-from Issue142 import *
-from Issue158 import *
-from Issue174 import *
-from Issue214 import *
-from Issue216 import *
-from Issue278 import *
-from Issue494 import *
-from Issue572 import *
-from Issue937 import *
-from Issue945 import *
+from .Issue33 import *
+from .Issue50 import *
+from .Issue54 import *
+from .Issue80 import *
+from .Issue87 import *
+from .Issue131 import *
+from .Issue133 import *
+from .Issue134 import *
+from .Issue139 import *
+from .Issue140 import *
+from .Issue142 import *
+from .Issue158 import *
+from .Issue174 import *
+from .Issue214 import *
+from .Issue216 import *
+from .Issue278 import *
+from .Issue494 import *
+from .Issue572 import *
+from .Issue937 import *
+from .Issue945 import *
RefactoringTool: Refactored tests/AuthenticatedUser.py
--- tests/AuthenticatedUser.py	(original)
+++ tests/AuthenticatedUser.py	(refactored)
@@ -32,7 +32,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
@@ -167,13 +167,13 @@
     def testCreateGist(self):
         gist = self.user.create_gist(True, {"foobar.txt": github.InputFileContent("File created by PyGithub")}, "Gist created by PyGithub")
         self.assertEqual(gist.description, "Gist created by PyGithub")
-        self.assertEqual(gist.files.keys(), ["foobar.txt"])
+        self.assertEqual(list(gist.files.keys()), ["foobar.txt"])
         self.assertEqual(gist.files["foobar.txt"].content, "File created by PyGithub")
 
     def testCreateGistWithoutDescription(self):
         gist = self.user.create_gist(True, {"foobar.txt": github.InputFileContent("File created by PyGithub")})
         self.assertEqual(gist.description, None)
-        self.assertEqual(gist.files.keys(), ["foobar.txt"])
+        self.assertEqual(list(gist.files.keys()), ["foobar.txt"])
         self.assertEqual(gist.files["foobar.txt"].content, "File created by PyGithub")
 
     def testCreateKey(self):
@@ -245,7 +245,7 @@
         self.assertListKeyEqual(self.user.get_notifications(all=True), lambda n: n.id, [])
 
     def testMarkNotificationsAsRead(self):
-        self.user.mark_notifications_as_read(datetime.datetime(2018, 10, 18, 18, 20, 01, 0))
+        self.user.mark_notifications_as_read(datetime.datetime(2018, 10, 18, 18, 20, 0o1, 0))
 
     def testGetTeams(self):
         self.assertListKeyEqual(self.user.get_teams(), lambda t: t.name, ["Owners", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries"])
RefactoringTool: Refactored tests/Authentication.py
--- tests/Authentication.py	(original)
+++ tests/Authentication.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Authorization.py
--- tests/Authorization.py	(original)
+++ tests/Authorization.py	(refactored)
@@ -27,7 +27,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/BadAttributes.py
--- tests/BadAttributes.py	(original)
+++ tests/BadAttributes.py	(refactored)
@@ -28,7 +28,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 import github
 
 
@@ -41,7 +41,7 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             user.name
         self.assertEqual(raisedexp.exception.actual_value, 42)
-        self.assertEqual(raisedexp.exception.expected_type, (str, unicode))
+        self.assertEqual(raisedexp.exception.expected_type, (str, str))
         self.assertEqual(raisedexp.exception.transformation_exception, None)
 
     def testBadAttributeTransformation(self):
@@ -51,7 +51,7 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             user.created_at
         self.assertEqual(raisedexp.exception.actual_value, "foobar")
-        self.assertEqual(raisedexp.exception.expected_type, (str, unicode))
+        self.assertEqual(raisedexp.exception.expected_type, (str, str))
         self.assertEqual(raisedexp.exception.transformation_exception.__class__, ValueError)
         self.assertEqual(raisedexp.exception.transformation_exception.args, ("time data 'foobar' does not match format '%Y-%m-%dT%H:%M:%SZ'",))
 
@@ -62,7 +62,7 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             user.updated_at
         self.assertEqual(raisedexp.exception.actual_value, 42)
-        self.assertEqual(raisedexp.exception.expected_type, (str, unicode))
+        self.assertEqual(raisedexp.exception.expected_type, (str, str))
         self.assertEqual(raisedexp.exception.transformation_exception, None)
 
     def testBadSimpleAttributeInList(self):
@@ -72,7 +72,7 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             hook.events
         self.assertEqual(raisedexp.exception.actual_value, ["push", 42])
-        self.assertEqual(raisedexp.exception.expected_type, [(str, unicode)])
+        self.assertEqual(raisedexp.exception.expected_type, [(str, str)])
         self.assertEqual(raisedexp.exception.transformation_exception, None)
 
     def testBadAttributeInClassAttribute(self):
@@ -99,13 +99,13 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             gist.files
         self.assertEqual(raisedexp.exception.actual_value, {"test.py": 42})
-        self.assertEqual(raisedexp.exception.expected_type, {(str, unicode): dict})
+        self.assertEqual(raisedexp.exception.expected_type, {(str, str): dict})
         self.assertEqual(raisedexp.exception.transformation_exception, None)
 
     def testIssue195(self):
         hooks = self.g.get_hooks()
         # We can loop on all hooks as long as we don't access circleci's events attribute
-        self.assertListKeyEqual(hooks, lambda h: h.name, [u'activecollab', u'acunote', u'agilebench', u'agilezen', u'amazonsns', u'apiary', u'apoio', u'appharbor', u'apropos', u'asana', u'backlog', u'bamboo', u'basecamp', u'bcx', u'blimp', u'boxcar', u'buddycloud', u'bugherd', u'bugly', u'bugzilla', u'campfire', u'cia', u'circleci', u'codeclimate', u'codeportingcsharp2java', u'codeship', u'coffeedocinfo', u'conductor', u'coop', u'copperegg', u'cube', u'depending', u'deployhq', u'devaria', u'docker', u'ducksboard', u'email', u'firebase', u'fisheye', u'flowdock', u'fogbugz', u'freckle', u'friendfeed', u'gemini', u'gemnasium', u'geocommit', u'getlocalization', u'gitlive', u'grmble', u'grouptalent', u'grove', u'habitualist', u'hakiri', u'hall', u'harvest', u'hipchat', u'hostedgraphite', u'hubcap', u'hubci', u'humbug', u'icescrum', u'irc', u'irker', u'ironmq', u'ironworker', u'jabber', u'jaconda', u'jeapie', u'jenkins', u'jenkinsgit', u'jira', u'jqueryplugins', u'kanbanery', u'kickoff', u'leanto', u'lechat', u'lighthouse', u'lingohub', u'loggly', u'mantisbt', u'masterbranch', u'mqttpub', u'nma', u'nodejitsu', u'notifo', u'ontime', u'pachube', u'packagist', u'phraseapp', u'pivotaltracker', u'planbox', u'planio', u'prowl', u'puppetlinter', u'pushalot', u'pushover', u'pythonpackages', u'railsbp', u'railsbrakeman', u'rally', u'rapidpush', u'rationaljazzhub', u'rationalteamconcert', u'rdocinfo', u'readthedocs', u'redmine', u'rubyforge', u'scrumdo', u'shiningpanda', u'sifter', u'simperium', u'slatebox', u'snowyevening', u'socialcast', u'softlayermessaging', u'sourcemint', u'splendidbacon', u'sprintly', u'sqsqueue', u'stackmob', u'statusnet', u'talker', u'targetprocess', u'tddium', u'teamcity', u'tender', u'tenxer', u'testpilot', u'toggl', u'trac', u'trajectory', u'travis', u'trello', u'twilio', u'twitter', u'unfuddle', u'web', u'weblate', u'webtranslateit', u'yammer', u'youtrack', u'zendesk', u'zohoprojects'])
+        self.assertListKeyEqual(hooks, lambda h: h.name, ['activecollab', 'acunote', 'agilebench', 'agilezen', 'amazonsns', 'apiary', 'apoio', 'appharbor', 'apropos', 'asana', 'backlog', 'bamboo', 'basecamp', 'bcx', 'blimp', 'boxcar', 'buddycloud', 'bugherd', 'bugly', 'bugzilla', 'campfire', 'cia', 'circleci', 'codeclimate', 'codeportingcsharp2java', 'codeship', 'coffeedocinfo', 'conductor', 'coop', 'copperegg', 'cube', 'depending', 'deployhq', 'devaria', 'docker', 'ducksboard', 'email', 'firebase', 'fisheye', 'flowdock', 'fogbugz', 'freckle', 'friendfeed', 'gemini', 'gemnasium', 'geocommit', 'getlocalization', 'gitlive', 'grmble', 'grouptalent', 'grove', 'habitualist', 'hakiri', 'hall', 'harvest', 'hipchat', 'hostedgraphite', 'hubcap', 'hubci', 'humbug', 'icescrum', 'irc', 'irker', 'ironmq', 'ironworker', 'jabber', 'jaconda', 'jeapie', 'jenkins', 'jenkinsgit', 'jira', 'jqueryplugins', 'kanbanery', 'kickoff', 'leanto', 'lechat', 'lighthouse', 'lingohub', 'loggly', 'mantisbt', 'masterbranch', 'mqttpub', 'nma', 'nodejitsu', 'notifo', 'ontime', 'pachube', 'packagist', 'phraseapp', 'pivotaltracker', 'planbox', 'planio', 'prowl', 'puppetlinter', 'pushalot', 'pushover', 'pythonpackages', 'railsbp', 'railsbrakeman', 'rally', 'rapidpush', 'rationaljazzhub', 'rationalteamconcert', 'rdocinfo', 'readthedocs', 'redmine', 'rubyforge', 'scrumdo', 'shiningpanda', 'sifter', 'simperium', 'slatebox', 'snowyevening', 'socialcast', 'softlayermessaging', 'sourcemint', 'splendidbacon', 'sprintly', 'sqsqueue', 'stackmob', 'statusnet', 'talker', 'targetprocess', 'tddium', 'teamcity', 'tender', 'tenxer', 'testpilot', 'toggl', 'trac', 'trajectory', 'travis', 'trello', 'twilio', 'twitter', 'unfuddle', 'web', 'weblate', 'webtranslateit', 'yammer', 'youtrack', 'zendesk', 'zohoprojects'])
         for hook in hooks:
             if hook.name != "circleci":
                 hook.events
@@ -115,5 +115,5 @@
                 with self.assertRaises(github.BadAttributeException) as raisedexp:
                     hook.events
         self.assertEqual(raisedexp.exception.actual_value, [["commit_comment", "create", "delete", "download", "follow", "fork", "fork_apply", "gist", "gollum", "issue_comment", "issues", "member", "public", "pull_request", "pull_request_review_comment", "push", "status", "team_add", "watch"]])
-        self.assertEqual(raisedexp.exception.expected_type, [(str, unicode)])
+        self.assertEqual(raisedexp.exception.expected_type, [(str, str)])
         self.assertEqual(raisedexp.exception.transformation_exception, None)
RefactoringTool: Refactored tests/Branch.py
--- tests/Branch.py	(original)
+++ tests/Branch.py	(refactored)
@@ -30,7 +30,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
@@ -68,9 +68,9 @@
         self.assertEqual(raisedexp.exception.status, 422)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#update-branch-protection',
-                u'message': u'Validation Failed',
-                u'errors': [u'Only organization repositories can have users and team restrictions']
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#update-branch-protection',
+                'message': 'Validation Failed',
+                'errors': ['Only organization repositories can have users and team restrictions']
             }
         )
 
@@ -80,9 +80,9 @@
         self.assertEqual(raisedexp.exception.status, 422)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#update-branch-protection',
-                u'message': u'Validation Failed',
-                u'errors': [u'Only organization repositories can have users and team restrictions']
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#update-branch-protection',
+                'message': 'Validation Failed',
+                'errors': ['Only organization repositories can have users and team restrictions']
             }
         )
 
@@ -104,8 +104,8 @@
         self.assertEqual(raisedexp.exception.status, 404)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#get-branch-protection',
-                u'message': u'Branch not protected'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#get-branch-protection',
+                'message': 'Branch not protected'
             }
         )
 
@@ -122,8 +122,8 @@
         self.assertEqual(raisedexp.exception.status, 404)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch',
-                u'message': u'Required status checks not enabled'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch',
+                'message': 'Required status checks not enabled'
             }
         )
 
@@ -140,8 +140,8 @@
         self.assertEqual(raisedexp.exception.status, 422)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch',
-                u'message': u'Invalid request.\n\n9 must be less than or equal to 6.'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch',
+                'message': 'Invalid request.\n\n9 must be less than or equal to 6.'
             }
         )
 
@@ -151,8 +151,8 @@
         self.assertEqual(raisedexp.exception.status, 422)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch',
-                u'message': u'Dismissal restrictions are supported only for repositories owned by an organization.'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch',
+                'message': 'Dismissal restrictions are supported only for repositories owned by an organization.'
             }
         )
 
@@ -184,8 +184,8 @@
         self.assertEqual(raisedexp.exception.status, 404)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#list-team-restrictions-of-protected-branch',
-                u'message': u'Push restrictions not enabled'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#list-team-restrictions-of-protected-branch',
+                'message': 'Push restrictions not enabled'
             }
         )
 
RefactoringTool: Refactored tests/BranchProtection.py
--- tests/BranchProtection.py	(original)
+++ tests/BranchProtection.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class BranchProtection(Framework.TestCase):
RefactoringTool: Refactored tests/Commit.py
--- tests/Commit.py	(original)
+++ tests/Commit.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Commit(Framework.TestCase):
@@ -48,7 +48,7 @@
         self.assertEqual(self.commit.files[0].changes, 20)
         self.assertEqual(self.commit.files[0].deletions, 20)
         self.assertEqual(self.commit.files[0].filename, "github/GithubObjects/GitAuthor.py")
-        self.assertTrue(isinstance(self.commit.files[0].patch, (str, unicode)))
+        self.assertTrue(isinstance(self.commit.files[0].patch, str))
         self.assertEqual(self.commit.files[0].raw_url, "https://github.com/jacquev6/PyGithub/raw/1292bf0e22c796e91cc3d6e24b544aece8c21f2a/github/GithubObjects/GitAuthor.py")
         self.assertEqual(self.commit.files[0].sha, "1292bf0e22c796e91cc3d6e24b544aece8c21f2a")
         self.assertEqual(self.commit.files[0].status, "modified")
RefactoringTool: Refactored tests/CommitCombinedStatus.py
--- tests/CommitCombinedStatus.py	(original)
+++ tests/CommitCombinedStatus.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/CommitComment.py
--- tests/CommitComment.py	(original)
+++ tests/CommitComment.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/CommitStatus.py
--- tests/CommitStatus.py	(original)
+++ tests/CommitStatus.py	(refactored)
@@ -30,7 +30,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/ConditionalRequestUpdate.py
--- tests/ConditionalRequestUpdate.py	(original)
+++ tests/ConditionalRequestUpdate.py	(refactored)
@@ -27,7 +27,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/ContentFile.py
--- tests/ContentFile.py	(original)
+++ tests/ContentFile.py	(refactored)
@@ -30,7 +30,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/Download.py
--- tests/Download.py	(original)
+++ tests/Download.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Enterprise.py
--- tests/Enterprise.py	(original)
+++ tests/Enterprise.py	(refactored)
@@ -29,7 +29,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 # Replay data for this test case is forged, because I don't have access to a real Github Enterprise install
RefactoringTool: Refactored tests/Equality.py
--- tests/Equality.py	(original)
+++ tests/Equality.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Equality(Framework.TestCase):
RefactoringTool: Refactored tests/Event.py
--- tests/Event.py	(original)
+++ tests/Event.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Exceptions.py
--- tests/Exceptions.py	(original)
+++ tests/Exceptions.py	(refactored)
@@ -35,7 +35,7 @@
 import sys
 import pickle
 
-import Framework
+from . import Framework
 
 atMostPython2 = sys.hexversion < 0x03000000
 
RefactoringTool: Refactored tests/ExposeAllAttributes.py
--- tests/ExposeAllAttributes.py	(original)
+++ tests/ExposeAllAttributes.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class ExposeAllAttributes(Framework.TestCase):
@@ -128,11 +128,11 @@
             # userKey,  # Security issue if put as-is in ReplayData
         ])
 
-        for className, attributesMissingInClass in sorted(missingAttributes.iteritems()):
-            for attrName, value in sorted(attributesMissingInClass.iteritems()):
-                print className, attrName, "->", repr(value)
+        for className, attributesMissingInClass in sorted(missingAttributes.items()):
+            for attrName, value in sorted(attributesMissingInClass.items()):
+                print(className, attrName, "->", repr(value))
 
-        self.assertEqual(sum(len(attrs) for attrs in missingAttributes.values()), 0)
+        self.assertEqual(sum(len(attrs) for attrs in list(missingAttributes.values())), 0)
 
     def findMissingAttributes(self, obj):
         if hasattr(obj, "update"):
RefactoringTool: Refactored tests/Framework.py
--- tests/Framework.py	(original)
+++ tests/Framework.py	(refactored)
@@ -96,7 +96,7 @@
         self.__cnx = self._realConnection(host, port, *args, **kwds)
 
     def request(self, verb, url, input, headers):
-        print verb, url, input, headers,
+        print(verb, url, input, headers, end=' ')
         self.__cnx.request(verb, url, input, headers)
         # fixAuthorizationHeader changes the parameter directly to remove Authorization token.
         # however, this is the real dictionary that *will be sent* by "requests",
@@ -119,7 +119,7 @@
         res = self.__cnx.getresponse()
 
         status = res.status
-        print "=>", status
+        print("=>", status)
         headers = res.getheaders()
         output = res.read()
 
@@ -191,7 +191,7 @@
         self.__testCase.assertEqual(self.__splitUrl(url), self.__splitUrl(readLine(self.__file)))
         self.__testCase.assertEqual(headers, eval(readLine(self.__file)))
         expectedInput = readLine(self.__file)
-        if isinstance(input, (str, unicode)):
+        if isinstance(input, str):
             if input.startswith("{"):
                 self.__testCase.assertEqual(json.loads(input.replace('\n', '').replace('\r', '')), json.loads(expectedInput))
             elif python2:  # @todo Test in all cases, including Python 3.4+
RefactoringTool: Refactored tests/Gist.py
--- tests/Gist.py	(original)
+++ tests/Gist.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
@@ -40,7 +40,7 @@
         self.assertEqual(gist.comments, 0)
         self.assertEqual(gist.created_at, datetime.datetime(2013, 8, 21, 16, 28, 24))
         self.assertEqual(gist.description, "Github API")
-        self.assertEqual(gist.files.keys(), ["GithubAPI.lua"])
+        self.assertEqual(list(gist.files.keys()), ["GithubAPI.lua"])
         self.assertEqual(gist.files["GithubAPI.lua"].size, 21229)
         self.assertEqual(gist.files["GithubAPI.lua"].filename, "GithubAPI.lua")
         self.assertEqual(gist.files["GithubAPI.lua"].language, "Lua")
@@ -90,13 +90,13 @@
         gist = self.g.get_gist("5339374")
         self.assertEqual(sorted(gist.files.keys()), ["bar.txt", "foo.txt"])
         gist.edit(files={"foo.txt": None})
-        self.assertEqual(gist.files.keys(), ["bar.txt"])
+        self.assertEqual(list(gist.files.keys()), ["bar.txt"])
 
     def testRenameFile(self):
         gist = self.g.get_gist("5339374")
-        self.assertEqual(gist.files.keys(), ["bar.txt"])
+        self.assertEqual(list(gist.files.keys()), ["bar.txt"])
         gist.edit(files={"bar.txt": github.InputFileContent(gist.files["bar.txt"].content, new_name="baz.txt")})
-        self.assertEqual(gist.files.keys(), ["baz.txt"])
+        self.assertEqual(list(gist.files.keys()), ["baz.txt"])
 
     def testCreateComment(self):
         gist = self.g.get_gist("2729810")
RefactoringTool: Refactored tests/GistComment.py
--- tests/GistComment.py	(original)
+++ tests/GistComment.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/GitBlob.py
--- tests/GitBlob.py	(original)
+++ tests/GitBlob.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class GitBlob(Framework.TestCase):
RefactoringTool: Refactored tests/GitCommit.py
--- tests/GitCommit.py	(original)
+++ tests/GitCommit.py	(refactored)
@@ -31,7 +31,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
 
 class GitCommit(Framework.TestCase):
RefactoringTool: Refactored tests/GitRef.py
--- tests/GitRef.py	(original)
+++ tests/GitRef.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class GitRef(Framework.TestCase):
RefactoringTool: Refactored tests/GitRelease.py
--- tests/GitRelease.py	(original)
+++ tests/GitRelease.py	(refactored)
@@ -37,7 +37,7 @@
 import os
 import zipfile
 import datetime
-import Framework
+from . import Framework
 from pprint import pprint
 
 
RefactoringTool: Refactored tests/GitReleaseAsset.py
--- tests/GitReleaseAsset.py	(original)
+++ tests/GitReleaseAsset.py	(refactored)
@@ -25,7 +25,7 @@
 ################################################################################
 
 import datetime
-import Framework
+from . import Framework
 from pprint import pprint
 
 
RefactoringTool: Refactored tests/GitTag.py
--- tests/GitTag.py	(original)
+++ tests/GitTag.py	(refactored)
@@ -31,7 +31,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
 
 class GitTag(Framework.TestCase):
RefactoringTool: Refactored tests/GitTree.py
--- tests/GitTree.py	(original)
+++ tests/GitTree.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class GitTree(Framework.TestCase):
RefactoringTool: Refactored tests/GithubIntegration.py
--- tests/GithubIntegration.py	(original)
+++ tests/GithubIntegration.py	(refactored)
@@ -66,8 +66,8 @@
             @property
             def text(self):
                 return (
-                    u'{"token": "v1.ce63424bc55028318325caac4f4c3a5378ca0038",'
-                    u'"expires_at": "2019-02-13T11:10:38Z"}'
+                    '{"token": "v1.ce63424bc55028318325caac4f4c3a5378ca0038",'
+                    '"expires_at": "2019-02-13T11:10:38Z"}'
                 )
 
             def __call__(self, *args, **kwargs):
RefactoringTool: Refactored tests/Github_.py
--- tests/Github_.py	(original)
+++ tests/Github_.py	(refactored)
@@ -34,9 +34,9 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
-import Time
+from . import Time
 
 import github
 
RefactoringTool: Refactored tests/Hook.py
--- tests/Hook.py	(original)
+++ tests/Hook.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Issue.py
--- tests/Issue.py	(original)
+++ tests/Issue.py	(refactored)
@@ -32,7 +32,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Issue131.py
--- tests/Issue131.py	(original)
+++ tests/Issue131.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Issue131(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/pull/133
RefactoringTool: Refactored tests/Issue133.py
--- tests/Issue133.py	(original)
+++ tests/Issue133.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Issue133(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/pull/133
RefactoringTool: Refactored tests/Issue134.py
--- tests/Issue134.py	(original)
+++ tests/Issue134.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue139.py
--- tests/Issue139.py	(original)
+++ tests/Issue139.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue140.py
--- tests/Issue140.py	(original)
+++ tests/Issue140.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue158.py
--- tests/Issue158.py	(original)
+++ tests/Issue158.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue174.py
--- tests/Issue174.py	(original)
+++ tests/Issue174.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue214.py
--- tests/Issue214.py	(original)
+++ tests/Issue214.py	(refactored)
@@ -27,7 +27,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 class Issue214(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/issues/214
RefactoringTool: Refactored tests/Issue216.py
--- tests/Issue216.py	(original)
+++ tests/Issue216.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue278.py
--- tests/Issue278.py	(original)
+++ tests/Issue278.py	(refactored)
@@ -24,7 +24,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 # Replay data forged by adding nulls to PaginatedList.setUp.txt and PaginatedList.testIteration.txt
RefactoringTool: Refactored tests/Issue33.py
--- tests/Issue33.py	(original)
+++ tests/Issue33.py	(refactored)
@@ -27,7 +27,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Issue33(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/issues/33
RefactoringTool: Refactored tests/Issue494.py
--- tests/Issue494.py	(original)
+++ tests/Issue494.py	(refactored)
@@ -23,7 +23,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Issue494(Framework.TestCase):
RefactoringTool: Refactored tests/Issue50.py
--- tests/Issue50.py	(original)
+++ tests/Issue50.py	(refactored)
@@ -29,7 +29,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 class Issue50(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/issues/50
RefactoringTool: Refactored tests/Issue54.py
--- tests/Issue54.py	(original)
+++ tests/Issue54.py	(refactored)
@@ -29,7 +29,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
 
 class Issue54(Framework.TestCase):
RefactoringTool: Refactored tests/Issue572.py
--- tests/Issue572.py	(original)
+++ tests/Issue572.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/Issue80.py
--- tests/Issue80.py	(original)
+++ tests/Issue80.py	(refactored)
@@ -29,7 +29,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 class Issue80(Framework.BasicTestCase):  # https://github.com/jacquev6/PyGithub/issues/80
RefactoringTool: Refactored tests/Issue87.py
--- tests/Issue87.py	(original)
+++ tests/Issue87.py	(refactored)
@@ -29,7 +29,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 class Issue87(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/issues/87
RefactoringTool: Refactored tests/Issue937.py
--- tests/Issue937.py	(original)
+++ tests/Issue937.py	(refactored)
@@ -21,7 +21,7 @@
 # along with PyGithub. If not, see <http://www.gnu.org/licenses/>.             #
 #                                                                              #
 ################################################################################
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/Issue945.py
--- tests/Issue945.py	(original)
+++ tests/Issue945.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/IssueComment.py
--- tests/IssueComment.py	(original)
+++ tests/IssueComment.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/IssueEvent.py
--- tests/IssueEvent.py	(original)
+++ tests/IssueEvent.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
@@ -331,7 +331,7 @@
         self.assertEqual(self.event_renamed.review_requester, None)
         self.assertEqual(self.event_renamed.requested_reviewer, None)
         self.assertEqual(self.event_renamed.milestone, None)
-        self.assertEqual(self.event_renamed.rename, {u'to': u'Adding new attributes to IssueEvent', u'from': u'Adding new attributes to IssueEvent Object (DO NOT MERGE - SEE NOTES)'})
+        self.assertEqual(self.event_renamed.rename, {'to': 'Adding new attributes to IssueEvent', 'from': 'Adding new attributes to IssueEvent Object (DO NOT MERGE - SEE NOTES)'})
         self.assertEqual(self.event_renamed.dismissed_review, None)
         self.assertEqual(self.event_renamed.lock_reason, None)
         # test __repr__() based on this attributes
@@ -508,7 +508,7 @@
         self.assertEqual(self.event_review_dismissed.requested_reviewer, None)
         self.assertEqual(self.event_review_dismissed.milestone, None)
         self.assertEqual(self.event_review_dismissed.rename, None)
-        self.assertEqual(self.event_review_dismissed.dismissed_review, {u'dismissal_message': u'dismiss', u'state': u'changes_requested', u'review_id': 145431295})
+        self.assertEqual(self.event_review_dismissed.dismissed_review, {'dismissal_message': 'dismiss', 'state': 'changes_requested', 'review_id': 145431295})
         self.assertEqual(self.event_review_dismissed.lock_reason, None)
         # test __repr__() based on this attributes
         self.assertEqual(self.event_review_dismissed.__repr__(), 'IssueEvent(id=1783605084)')
RefactoringTool: Refactored tests/Label.py
--- tests/Label.py	(original)
+++ tests/Label.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Label(Framework.TestCase):
RefactoringTool: Refactored tests/License.py
--- tests/License.py	(original)
+++ tests/License.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class License(Framework.TestCase):
RefactoringTool: Refactored tests/Logging_.py
--- tests/Logging_.py	(original)
+++ tests/Logging_.py	(refactored)
@@ -34,7 +34,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 python2 = sys.hexversion < 0x03000000
 
RefactoringTool: Refactored tests/Markdown.py
--- tests/Markdown.py	(original)
+++ tests/Markdown.py	(refactored)
@@ -27,7 +27,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Markdown(Framework.TestCase):
RefactoringTool: Refactored tests/Migration.py
--- tests/Migration.py	(original)
+++ tests/Migration.py	(refactored)
@@ -47,7 +47,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/Milestone.py
--- tests/Milestone.py	(original)
+++ tests/Milestone.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/NamedUser.py
--- tests/NamedUser.py	(original)
+++ tests/NamedUser.py	(refactored)
@@ -31,7 +31,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/Notification.py
--- tests/Notification.py	(original)
+++ tests/Notification.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Organization.py
--- tests/Organization.py	(original)
+++ tests/Organization.py	(refactored)
@@ -36,7 +36,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 import datetime
 
@@ -243,8 +243,8 @@
             self.org.invite_user(email='bar@example.com')
         self.assertEqual(raisedexp.exception.status, 403)
         self.assertEqual(raisedexp.exception.data, {
-            u'documentation_url': u'https://developer.github.com/v3/orgs/members/#create-organization-invitation',
-            u'message': u'You must be an admin to create an invitation to an organization.'
+            'documentation_url': 'https://developer.github.com/v3/orgs/members/#create-organization-invitation',
+            'message': 'You must be an admin to create an invitation to an organization.'
             }
         )
 
RefactoringTool: Refactored tests/OrganizationHasInMembers.py
--- tests/OrganizationHasInMembers.py	(original)
+++ tests/OrganizationHasInMembers.py	(refactored)
@@ -23,7 +23,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class OrganizationHasInMembers(Framework.TestCase):
RefactoringTool: Refactored tests/PaginatedList.py
--- tests/PaginatedList.py	(original)
+++ tests/PaginatedList.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 from github.PaginatedList import PaginatedList as PaginatedListImpl
 
 
@@ -135,7 +135,7 @@
         self.assertEqual(len(list(self.repo.get_issues())), 456)
 
     def testCustomPerPageWithNoUrlParams(self):
-        import CommitComment  # Don't polute github.tests namespace, it would conflict with github.tests.CommitComment
+        from . import CommitComment  # Don't polute github.tests namespace, it would conflict with github.tests.CommitComment
         self.g.per_page = 100
         paginated_list = PaginatedListImpl(
             CommitComment.CommitComment,
RefactoringTool: Refactored tests/Persistence.py
--- tests/Persistence.py	(original)
+++ tests/Persistence.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 from io import BytesIO as IO
RefactoringTool: Refactored tests/Project.py
--- tests/Project.py	(original)
+++ tests/Project.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 # ##############################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/PullRequest.py
--- tests/PullRequest.py	(original)
+++ tests/PullRequest.py	(refactored)
@@ -31,7 +31,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/PullRequestComment.py
--- tests/PullRequestComment.py	(original)
+++ tests/PullRequestComment.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/PullRequestFile.py
--- tests/PullRequestFile.py	(original)
+++ tests/PullRequestFile.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class PullRequestFile(Framework.TestCase):
RefactoringTool: Refactored tests/PullRequestReview.py
--- tests/PullRequestReview.py	(original)
+++ tests/PullRequestReview.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/RateLimiting.py
--- tests/RateLimiting.py	(original)
+++ tests/RateLimiting.py	(refactored)
@@ -30,7 +30,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
 
 class RateLimiting(Framework.TestCase):
RefactoringTool: Refactored tests/RawData.py
--- tests/RawData.py	(original)
+++ tests/RawData.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github.NamedUser
 
RefactoringTool: Refactored tests/Reaction.py
--- tests/Reaction.py	(original)
+++ tests/Reaction.py	(refactored)
@@ -23,7 +23,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Repository.py
--- tests/Repository.py	(original)
+++ tests/Repository.py	(refactored)
@@ -47,7 +47,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
@@ -304,8 +304,8 @@
             self.repo.get_collaborator_permission('lyloa')
         self.assertEqual(raisedexp.exception.status, 403)
         self.assertEqual(raisedexp.exception.data, {
-            u'documentation_url': u'https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level',
-            u'message': u'Must have push access to view collaborator permission.'
+            'documentation_url': 'https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level',
+            'message': 'Must have push access to view collaborator permission.'
             }
         )
 
@@ -457,12 +457,12 @@
             repo.get_stargazers_with_dates(),
             lambda stargazer: (stargazer.starred_at, stargazer.user.login),
             [
-                (datetime.datetime(2014, 8, 13, 19, 22, 5), u'sAlexander'),
-                (datetime.datetime(2014, 10, 15, 5, 2, 30), u'ThomasG77'),
-                (datetime.datetime(2015, 4, 14, 15, 22, 40), u'therusek'),
-                (datetime.datetime(2015, 4, 29, 0, 9, 40), u'athomann'),
-                (datetime.datetime(2015, 4, 29, 14, 26, 46), u'jcapron'),
-                (datetime.datetime(2015, 5, 9, 19, 14, 45), u'JoePython1')
+                (datetime.datetime(2014, 8, 13, 19, 22, 5), 'sAlexander'),
+                (datetime.datetime(2014, 10, 15, 5, 2, 30), 'ThomasG77'),
+                (datetime.datetime(2015, 4, 14, 15, 22, 40), 'therusek'),
+                (datetime.datetime(2015, 4, 29, 0, 9, 40), 'athomann'),
+                (datetime.datetime(2015, 4, 29, 14, 26, 46), 'jcapron'),
+                (datetime.datetime(2015, 5, 9, 19, 14, 45), 'JoePython1')
             ]
         )
 
@@ -527,7 +527,7 @@
 
         contents = self.repo.get_contents("")
         self.assertTrue(isinstance(contents, list))
-        self.assertEquals(len(contents), 14)
+        self.assertEqual(len(contents), 14)
 
     def testGetContentsWithRef(self):
         self.assertEqual(len(self.repo.get_readme(ref="refs/heads/topic/ExperimentOnDocumentation").content), 6747)
@@ -644,7 +644,7 @@
 
     def testGetTopics(self):
         topic_list = self.repo.get_topics()
-        topic = u'github'
+        topic = 'github'
         self.assertIn(topic, topic_list)
 
     def testReplaceTopics(self):
RefactoringTool: Refactored tests/RepositoryKey.py
--- tests/RepositoryKey.py	(original)
+++ tests/RepositoryKey.py	(refactored)
@@ -31,7 +31,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/RequiredPullRequestReviews.py
--- tests/RequiredPullRequestReviews.py	(original)
+++ tests/RequiredPullRequestReviews.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/RequiredStatusChecks.py
--- tests/RequiredStatusChecks.py	(original)
+++ tests/RequiredStatusChecks.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/Retry.py
--- tests/Retry.py	(original)
+++ tests/Retry.py	(refactored)
@@ -28,7 +28,7 @@
 import urllib3
 from httpretty import httpretty
 
-import Framework
+from . import Framework
 
 import requests
 
@@ -56,31 +56,31 @@
         try:
             self.g.get_repo(REPO_NAME)
         except GithubException:
-            self.assertEquals(len(httpretty.latest_requests), 1)
+            self.assertEqual(len(httpretty.latest_requests), 1)
 
     def testReturnsRepoAfter3Retries(self):
         repository = self.g.get_repo(REPO_NAME)
-        self.assertEquals(len(httpretty.latest_requests), 4)
+        self.assertEqual(len(httpretty.latest_requests), 4)
         for request in httpretty.latest_requests:
-            self.assertEquals(request.path, '/repos/' + REPO_NAME)
+            self.assertEqual(request.path, '/repos/' + REPO_NAME)
 
         self.assertIsInstance(repository, Repository)
-        self.assertEquals(repository.full_name, REPO_NAME)
+        self.assertEqual(repository.full_name, REPO_NAME)
 
     def testReturnsRepoAfter1Retry(self):
         repository = self.g.get_repo(REPO_NAME)
-        self.assertEquals(len(httpretty.latest_requests), 2)
+        self.assertEqual(len(httpretty.latest_requests), 2)
         for request in httpretty.latest_requests:
-            self.assertEquals(request.path, '/repos/' + REPO_NAME)
+            self.assertEqual(request.path, '/repos/' + REPO_NAME)
 
         self.assertIsInstance(repository, Repository)
-        self.assertEquals(repository.full_name, REPO_NAME)
+        self.assertEqual(repository.full_name, REPO_NAME)
 
     def testRaisesRetryErrorAfterMaxRetries(self):
         try:
             response = self.g.get_repo('PyGithub/PyGithub')
             self.fail("RetryError should have been raised")
         except requests.exceptions.RetryError:
-            self.assertEquals(len(httpretty.latest_requests), 4)
+            self.assertEqual(len(httpretty.latest_requests), 4)
             for request in httpretty.latest_requests:
-                self.assertEquals(request.path, '/repos/PyGithub/PyGithub')
+                self.assertEqual(request.path, '/repos/PyGithub/PyGithub')
RefactoringTool: Refactored tests/Search.py
--- tests/Search.py	(original)
+++ tests/Search.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import sys
 
 atLeastPython3 = sys.hexversion >= 0x03000000
@@ -42,16 +42,16 @@
 
     def testPaginateSearchUsers(self):
         users = self.g.search_users("", location="Berlin")
-        self.assertListKeyBegin(users, lambda u: u.login, [u'cloudhead', u'felixge', u'sferik', u'rkh', u'jezdez', u'janl', u'marijnh', u'nikic', u'igorw', u'froschi', u'svenfuchs', u'omz', u'chad', u'bergie', u'roidrage', u'pcalcado', u'durran', u'hukl', u'mttkay', u'aFarkas', u'ole', u'hagenburger', u'jberkel', u'naderman', u'joshk', u'pudo', u'robb', u'josephwilk', u'hanshuebner', u'txus', u'paulasmuth', u'splitbrain', u'langalex', u'bendiken', u'stefanw'])
+        self.assertListKeyBegin(users, lambda u: u.login, ['cloudhead', 'felixge', 'sferik', 'rkh', 'jezdez', 'janl', 'marijnh', 'nikic', 'igorw', 'froschi', 'svenfuchs', 'omz', 'chad', 'bergie', 'roidrage', 'pcalcado', 'durran', 'hukl', 'mttkay', 'aFarkas', 'ole', 'hagenburger', 'jberkel', 'naderman', 'joshk', 'pudo', 'robb', 'josephwilk', 'hanshuebner', 'txus', 'paulasmuth', 'splitbrain', 'langalex', 'bendiken', 'stefanw'])
         self.assertEqual(users.totalCount, 6038)
 
     def testGetPageOnSearchUsers(self):
         users = self.g.search_users("", location="Berlin")
-        self.assertEqual([u.login for u in users.get_page(7)], [u'ursachec', u'bitboxer', u'fs111', u'michenriksen', u'witsch', u'booo', u'mortice', u'r0man', u'MikeBild', u'mhagger', u'bkw', u'fwbrasil', u'mschneider', u'lydiapintscher', u'asksven', u'iamtimm', u'sneak', u'kr1sp1n', u'Feh', u'GordonLesti', u'annismckenzie', u'eskimoblood', u'tsujigiri', u'riethmayer', u'lauritzthamsen', u'scotchi', u'peritor', u'toto', u'hwaxxer', u'lukaszklis'])
+        self.assertEqual([u.login for u in users.get_page(7)], ['ursachec', 'bitboxer', 'fs111', 'michenriksen', 'witsch', 'booo', 'mortice', 'r0man', 'MikeBild', 'mhagger', 'bkw', 'fwbrasil', 'mschneider', 'lydiapintscher', 'asksven', 'iamtimm', 'sneak', 'kr1sp1n', 'Feh', 'GordonLesti', 'annismckenzie', 'eskimoblood', 'tsujigiri', 'riethmayer', 'lauritzthamsen', 'scotchi', 'peritor', 'toto', 'hwaxxer', 'lukaszklis'])
 
     def testSearchRepos(self):
         repos = self.g.search_repositories("github", sort="stars", order="desc", language="Python")
-        self.assertListKeyBegin(repos, lambda r: r.full_name, [u'kennethreitz/legit', u'RuudBurger/CouchPotatoV1', u'gelstudios/gitfiti', u'gpjt/webgl-lessons', u'jacquev6/PyGithub', u'aaasen/github_globe', u'hmason/gitmarks', u'dnerdy/factory_boy', u'binaryage/drydrop', u'bgreenlee/sublime-github', u'karan/HackerNewsAPI', u'mfenniak/pyPdf', u'skazhy/github-decorator', u'llvmpy/llvmpy', u'lexrupy/gmate', u'ask/python-github2', u'audreyr/cookiecutter-pypackage', u'tabo/django-treebeard', u'dbr/tvdb_api', u'jchris/couchapp', u'joeyespo/grip', u'nigelsmall/py2neo', u'ask/chishop', u'sigmavirus24/github3.py', u'jsmits/github-cli', u'lincolnloop/django-layout', u'amccloud/django-project-skel', u'Stiivi/brewery', u'webpy/webpy.github.com', u'dustin/py-github', u'logsol/Github-Auto-Deploy', u'cloudkick/libcloud', u'berkerpeksag/github-badge', u'bitprophet/ssh', u'azavea/OpenTreeMap'])
+        self.assertListKeyBegin(repos, lambda r: r.full_name, ['kennethreitz/legit', 'RuudBurger/CouchPotatoV1', 'gelstudios/gitfiti', 'gpjt/webgl-lessons', 'jacquev6/PyGithub', 'aaasen/github_globe', 'hmason/gitmarks', 'dnerdy/factory_boy', 'binaryage/drydrop', 'bgreenlee/sublime-github', 'karan/HackerNewsAPI', 'mfenniak/pyPdf', 'skazhy/github-decorator', 'llvmpy/llvmpy', 'lexrupy/gmate', 'ask/python-github2', 'audreyr/cookiecutter-pypackage', 'tabo/django-treebeard', 'dbr/tvdb_api', 'jchris/couchapp', 'joeyespo/grip', 'nigelsmall/py2neo', 'ask/chishop', 'sigmavirus24/github3.py', 'jsmits/github-cli', 'lincolnloop/django-layout', 'amccloud/django-project-skel', 'Stiivi/brewery', 'webpy/webpy.github.com', 'dustin/py-github', 'logsol/Github-Auto-Deploy', 'cloudkick/libcloud', 'berkerpeksag/github-badge', 'bitprophet/ssh', 'azavea/OpenTreeMap'])
 
     def testSearchReposWithNoResults(self):
         repos = self.g.search_repositories("doesnotexist")
@@ -67,7 +67,7 @@
 
     def testSearchTopics(self):
         topics = self.g.search_topics("python", repositories=">950")
-        self.assertListKeyBegin(topics, lambda r: r.name, [u"python", u"django", u"flask", u"ruby", u"scikit-learn", u"wagtail"])
+        self.assertListKeyBegin(topics, lambda r: r.name, ["python", "django", "flask", "ruby", "scikit-learn", "wagtail"])
 
     def testPaginateSearchTopics(self):
         repos = self.g.search_topics("python", repositories=">950")
@@ -75,7 +75,7 @@
 
     def testSearchCode(self):
         files = self.g.search_code("toto", sort="indexed", order="asc", user="jacquev6")
-        self.assertListKeyEqual(files, lambda f: f.name, [u'Commit.setUp.txt', u'PullRequest.testGetFiles.txt', u'NamedUser.testGetEvents.txt', u'PullRequest.testCreateComment.txt', u'PullRequestFile.setUp.txt', u'Repository.testGetIssuesWithWildcards.txt', u'Repository.testGetIssuesWithArguments.txt', u'test_ebnf.cpp', u'test_abnf.cpp', u'PullRequestFile.py', u'SystemCalls.py', u'tests.py', u'LexerTestCase.py', u'ParserTestCase.py'])
+        self.assertListKeyEqual(files, lambda f: f.name, ['Commit.setUp.txt', 'PullRequest.testGetFiles.txt', 'NamedUser.testGetEvents.txt', 'PullRequest.testCreateComment.txt', 'PullRequestFile.setUp.txt', 'Repository.testGetIssuesWithWildcards.txt', 'Repository.testGetIssuesWithArguments.txt', 'test_ebnf.cpp', 'test_abnf.cpp', 'PullRequestFile.py', 'SystemCalls.py', 'tests.py', 'LexerTestCase.py', 'ParserTestCase.py'])
         self.assertEqual(files[0].repository.full_name, "jacquev6/PyGithub")
         if atLeastPython3:
             self.assertEqual(files[0].decoded_content[:30], b'https\nGET\napi.github.com\nNone\n')
RefactoringTool: Refactored tests/SourceImport.py
--- tests/SourceImport.py	(original)
+++ tests/SourceImport.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class SourceImport(Framework.TestCase):
RefactoringTool: Refactored tests/Tag.py
--- tests/Tag.py	(original)
+++ tests/Tag.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Tag(Framework.TestCase):
RefactoringTool: Refactored tests/Team.py
--- tests/Team.py	(original)
+++ tests/Team.py	(refactored)
@@ -34,7 +34,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Team(Framework.TestCase):
RefactoringTool: No changes to tests/Time.py
RefactoringTool: Refactored tests/Traffic.py
--- tests/Traffic.py	(original)
+++ tests/Traffic.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/UserKey.py
--- tests/UserKey.py	(original)
+++ tests/UserKey.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class UserKey(Framework.TestCase):
RefactoringTool: Refactored tests/__main__.py
--- tests/__main__.py	(original)
+++ tests/__main__.py	(refactored)
@@ -30,8 +30,8 @@
 
 import sys
 import unittest
-import Framework
-import AllTests
+from . import Framework
+from . import AllTests
 
 
 def main(argv):
RefactoringTool: Files that were modified:
RefactoringTool: tests/AllTests.py
RefactoringTool: tests/AuthenticatedUser.py
RefactoringTool: tests/Authentication.py
RefactoringTool: tests/Authorization.py
RefactoringTool: tests/BadAttributes.py
RefactoringTool: tests/Branch.py
RefactoringTool: tests/BranchProtection.py
RefactoringTool: tests/Commit.py
RefactoringTool: tests/CommitCombinedStatus.py
RefactoringTool: tests/CommitComment.py
RefactoringTool: tests/CommitStatus.py
RefactoringTool: tests/ConditionalRequestUpdate.py
RefactoringTool: tests/ContentFile.py
RefactoringTool: tests/Download.py
RefactoringTool: tests/Enterprise.py
RefactoringTool: tests/Equality.py
RefactoringTool: tests/Event.py
RefactoringTool: tests/Exceptions.py
RefactoringTool: tests/ExposeAllAttributes.py
RefactoringTool: tests/Framework.py
RefactoringTool: tests/Gist.py
RefactoringTool: tests/GistComment.py
RefactoringTool: tests/GitBlob.py
RefactoringTool: tests/GitCommit.py
RefactoringTool: tests/GitRef.py
RefactoringTool: tests/GitRelease.py
RefactoringTool: tests/GitReleaseAsset.py
RefactoringTool: tests/GitTag.py
RefactoringTool: tests/GitTree.py
RefactoringTool: tests/GithubIntegration.py
RefactoringTool: tests/Github_.py
RefactoringTool: tests/Hook.py
RefactoringTool: tests/Issue.py
RefactoringTool: tests/Issue131.py
RefactoringTool: tests/Issue133.py
RefactoringTool: tests/Issue134.py
RefactoringTool: tests/Issue139.py
RefactoringTool: tests/Issue140.py
RefactoringTool: tests/Issue158.py
RefactoringTool: tests/Issue174.py
RefactoringTool: tests/Issue214.py
RefactoringTool: tests/Issue216.py
RefactoringTool: tests/Issue278.py
RefactoringTool: tests/Issue33.py
RefactoringTool: tests/Issue494.py
RefactoringTool: tests/Issue50.py
RefactoringTool: tests/Issue54.py
RefactoringTool: tests/Issue572.py
RefactoringTool: tests/Issue80.py
RefactoringTool: tests/Issue87.py
RefactoringTool: tests/Issue937.py
RefactoringTool: tests/Issue945.py
RefactoringTool: tests/IssueComment.py
RefactoringTool: tests/IssueEvent.py
RefactoringTool: tests/Label.py
RefactoringTool: tests/License.py
RefactoringTool: tests/Logging_.py
RefactoringTool: tests/Markdown.py
RefactoringTool: tests/Migration.py
RefactoringTool: tests/Milestone.py
RefactoringTool: tests/NamedUser.py
RefactoringTool: tests/Notification.py
RefactoringTool: tests/Organization.py
RefactoringTool: tests/OrganizationHasInMembers.py
RefactoringTool: tests/PaginatedList.py
RefactoringTool: tests/Persistence.py
RefactoringTool: tests/Project.py
RefactoringTool: tests/PullRequest.py
RefactoringTool: tests/PullRequestComment.py
RefactoringTool: tests/PullRequestFile.py
RefactoringTool: tests/PullRequestReview.py
RefactoringTool: tests/RateLimiting.py
RefactoringTool: tests/RawData.py
RefactoringTool: tests/Reaction.py
RefactoringTool: tests/Repository.py
RefactoringTool: tests/RepositoryKey.py
RefactoringTool: tests/RequiredPullRequestReviews.py
RefactoringTool: tests/RequiredStatusChecks.py
RefactoringTool: tests/Retry.py
RefactoringTool: tests/Search.py
RefactoringTool: tests/SourceImport.py
RefactoringTool: tests/Tag.py
RefactoringTool: tests/Team.py
RefactoringTool: tests/Time.py
RefactoringTool: tests/Traffic.py
RefactoringTool: tests/UserKey.py
RefactoringTool: tests/__main__.py
coverage run --source github/tests setup.py test
running test
Searching for pyjwt
Reading https://pypi.org/simple/pyjwt/
Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl#sha256=5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e
Best match: PyJWT 1.7.1
Processing PyJWT-1.7.1-py2.py3-none-any.whl
Installing PyJWT-1.7.1-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py3.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py3.7.egg
Searching for deprecated
Reading https://pypi.org/simple/deprecated/
Downloading https://files.pythonhosted.org/packages/9f/7a/003fa432f1e45625626549726c2fbb7a29baa764e9d1fdb2323a5d779f8a/Deprecated-1.2.5-py2.py3-none-any.whl#sha256=749f6cdcfbdc3f79258f8154bad43fced95adc632c337675d0385959895894bc
Best match: Deprecated 1.2.5
Processing Deprecated-1.2.5-py2.py3-none-any.whl
Installing Deprecated-1.2.5-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py3.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py3.7.egg
Searching for wrapt<2,>=1
Reading https://pypi.org/simple/wrapt/
Downloading https://files.pythonhosted.org/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz#sha256=4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533
Best match: wrapt 1.11.1
Processing wrapt-1.11.1.tar.gz
Writing /tmp/easy_install-1ywdb778/wrapt-1.11.1/setup.cfg
Running wrapt-1.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1ywdb778/wrapt-1.11.1/egg-dist-tmp-v3f81cn2
zip_safe flag not set; analyzing archive contents...
wrapt.__pycache__._wrappers.cpython-37: module references __file__
creating /home/travis/build/PyGithub/PyGithub/.eggs/wrapt-1.11.1-py3.7-linux-x86_64.egg
Extracting wrapt-1.11.1-py3.7-linux-x86_64.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/wrapt-1.11.1-py3.7-linux-x86_64.egg
Searching for httpretty==0.9.6
Reading https://pypi.org/simple/httpretty/
Downloading https://files.pythonhosted.org/packages/6e/84/c779ebe4411195716588b413dd594373144c411762c158b579cf36b37168/httpretty-0.9.6.tar.gz#sha256=01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc
Best match: httpretty 0.9.6
Processing httpretty-0.9.6.tar.gz
Writing /tmp/easy_install-bjuqpcml/httpretty-0.9.6/setup.cfg
Running httpretty-0.9.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-bjuqpcml/httpretty-0.9.6/egg-dist-tmp-w_osbg7d
creating /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg
Extracting httpretty-0.9.6-py3.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg
Searching for cryptography
Reading https://pypi.org/simple/cryptography/
Downloading https://files.pythonhosted.org/packages/5b/12/b0409a94dad366d98a8eee2a77678c7a73aafd8c0e4b835abea634ea3896/cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl#sha256=45a4f4cf4f4e6a55c8128f8b76b4c057027b27d4c67e3fe157fa02f27e37830d
Best match: cryptography 2.6.1
Processing cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl
Installing cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py3.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py3.7-linux-x86_64.egg
Searching for cffi!=1.11.3,>=1.8
Reading https://pypi.org/simple/cffi/
Downloading https://files.pythonhosted.org/packages/a0/ea/37fe21475c884f88a2ae496cab10e8f84f0cc11137be860af9eb37a3edb9/cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl#sha256=ae61af521ed676cf16ae94f30fe202781a38d7178b6b4ab622e4eec8cefaff42
Best match: cffi 1.12.3
Processing cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl
Installing cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py3.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py3.7-linux-x86_64.egg
Searching for asn1crypto>=0.21.0
Reading https://pypi.org/simple/asn1crypto/
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl#sha256=2f1adbb7546ed199e3c90ef23ec95c5cf3585bac7d11fb7eb562a3fe89c64e87
Best match: asn1crypto 0.24.0
Processing asn1crypto-0.24.0-py2.py3-none-any.whl
Installing asn1crypto-0.24.0-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/asn1crypto-0.24.0-py3.7.egg
Searching for pycparser
Reading https://pypi.org/simple/pycparser/
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz#sha256=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
Best match: pycparser 2.19
Processing pycparser-2.19.tar.gz
Writing /tmp/easy_install-y2jsmf1l/pycparser-2.19/setup.cfg
Running pycparser-2.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-y2jsmf1l/pycparser-2.19/egg-dist-tmp-d9_iya18
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.__pycache__.lex.cpython-37: module references __file__
pycparser.ply.__pycache__.lex.cpython-37: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-37: module references __file__
pycparser.ply.__pycache__.yacc.cpython-37: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-37: module MAY be using inspect.stack
pycparser.ply.__pycache__.ygen.cpython-37: module references __file__
creating /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py3.7.egg
Extracting pycparser-2.19-py3.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py3.7.egg
running build_py
creating build
creating build/lib
creating build/lib/github
copying github/StatsCommitActivity.py -> build/lib/github
copying github/StatsPunchCard.py -> build/lib/github
copying github/Label.py -> build/lib/github
copying github/Project.py -> build/lib/github
copying github/Authorization.py -> build/lib/github
copying github/PullRequestReview.py -> build/lib/github
copying github/Event.py -> build/lib/github
copying github/PullRequestComment.py -> build/lib/github
copying github/InputGitTreeElement.py -> build/lib/github
copying github/GitAuthor.py -> build/lib/github
copying github/PaginatedList.py -> build/lib/github
copying github/IssueComment.py -> build/lib/github
copying github/RateLimit.py -> build/lib/github
copying github/AuthorizationApplication.py -> build/lib/github
copying github/HookResponse.py -> build/lib/github
copying github/GistHistoryState.py -> build/lib/github
copying github/Consts.py -> build/lib/github
copying github/GistComment.py -> build/lib/github
copying github/License.py -> build/lib/github
copying github/Team.py -> build/lib/github
copying github/Tag.py -> build/lib/github
copying github/InstallationAuthorization.py -> build/lib/github
copying github/ProjectCard.py -> build/lib/github
copying github/InputFileContent.py -> build/lib/github
copying github/GitTree.py -> build/lib/github
copying github/GitignoreTemplate.py -> build/lib/github
copying github/Hook.py -> build/lib/github
copying github/Installation.py -> build/lib/github
copying github/Migration.py -> build/lib/github
copying github/PullRequest.py -> build/lib/github
copying github/CommitStatus.py -> build/lib/github
copying github/GitTag.py -> build/lib/github
copying github/GitCommit.py -> build/lib/github
copying github/Legacy.py -> build/lib/github
copying github/Requester.py -> build/lib/github
copying github/Notification.py -> build/lib/github
copying github/PullRequestMergeStatus.py -> build/lib/github
copying github/GitTreeElement.py -> build/lib/github
copying github/Stargazer.py -> build/lib/github
copying github/IssuePullRequest.py -> build/lib/github
copying github/Plan.py -> build/lib/github
copying github/GitRef.py -> build/lib/github
copying github/Issue.py -> build/lib/github
copying github/HookDescription.py -> build/lib/github
copying github/Referrer.py -> build/lib/github
copying github/Branch.py -> build/lib/github
copying github/Gist.py -> build/lib/github
copying github/Clones.py -> build/lib/github
copying github/Repository.py -> build/lib/github
copying github/RequiredPullRequestReviews.py -> build/lib/github
copying github/Topic.py -> build/lib/github
copying github/NamedUser.py -> build/lib/github
copying github/CommitStats.py -> build/lib/github
copying github/Path.py -> build/lib/github
copying github/AuthenticatedUser.py -> build/lib/github
copying github/NotificationSubject.py -> build/lib/github
copying github/GithubObject.py -> build/lib/github
copying github/CommitComment.py -> build/lib/github
copying github/GithubException.py -> build/lib/github
copying github/RepositoryKey.py -> build/lib/github
copying github/StatsParticipation.py -> build/lib/github
copying github/Invitation.py -> build/lib/github
copying github/Organization.py -> build/lib/github
copying github/BranchProtection.py -> build/lib/github
copying github/StatsContributor.py -> build/lib/github
copying github/Rate.py -> build/lib/github
copying github/Milestone.py -> build/lib/github
copying github/GistFile.py -> build/lib/github
copying github/__init__.py -> build/lib/github
copying github/ContentFile.py -> build/lib/github
copying github/File.py -> build/lib/github
copying github/MainClass.py -> build/lib/github
copying github/GitBlob.py -> build/lib/github
copying github/InputGitAuthor.py -> build/lib/github
copying github/SourceImport.py -> build/lib/github
copying github/Permissions.py -> build/lib/github
copying github/View.py -> build/lib/github
copying github/Comparison.py -> build/lib/github
copying github/RequiredStatusChecks.py -> build/lib/github
copying github/Commit.py -> build/lib/github
copying github/IssueEvent.py -> build/lib/github
copying github/StatsCodeFrequency.py -> build/lib/github
copying github/GitReleaseAsset.py -> build/lib/github
copying github/GitObject.py -> build/lib/github
copying github/Download.py -> build/lib/github
copying github/CommitCombinedStatus.py -> build/lib/github
copying github/GitRelease.py -> build/lib/github
copying github/UserKey.py -> build/lib/github
copying github/PullRequestPart.py -> build/lib/github
copying github/Reaction.py -> build/lib/github
copying github/ProjectColumn.py -> build/lib/github
Fixing build/lib/github/StatsCommitActivity.py build/lib/github/StatsPunchCard.py build/lib/github/Label.py build/lib/github/Project.py build/lib/github/Authorization.py build/lib/github/PullRequestReview.py build/lib/github/Event.py build/lib/github/PullRequestComment.py build/lib/github/InputGitTreeElement.py build/lib/github/GitAuthor.py build/lib/github/PaginatedList.py build/lib/github/IssueComment.py build/lib/github/RateLimit.py build/lib/github/AuthorizationApplication.py build/lib/github/HookResponse.py build/lib/github/GistHistoryState.py build/lib/github/Consts.py build/lib/github/GistComment.py build/lib/github/License.py build/lib/github/Team.py build/lib/github/Tag.py build/lib/github/InstallationAuthorization.py build/lib/github/ProjectCard.py build/lib/github/InputFileContent.py build/lib/github/GitTree.py build/lib/github/GitignoreTemplate.py build/lib/github/Hook.py build/lib/github/Installation.py build/lib/github/Migration.py build/lib/github/PullRequest.py build/lib/github/CommitStatus.py build/lib/github/GitTag.py build/lib/github/GitCommit.py build/lib/github/Legacy.py build/lib/github/Requester.py build/lib/github/Notification.py build/lib/github/PullRequestMergeStatus.py build/lib/github/GitTreeElement.py build/lib/github/Stargazer.py build/lib/github/IssuePullRequest.py build/lib/github/Plan.py build/lib/github/GitRef.py build/lib/github/Issue.py build/lib/github/HookDescription.py build/lib/github/Referrer.py build/lib/github/Branch.py build/lib/github/Gist.py build/lib/github/Clones.py build/lib/github/Repository.py build/lib/github/RequiredPullRequestReviews.py build/lib/github/Topic.py build/lib/github/NamedUser.py build/lib/github/CommitStats.py build/lib/github/Path.py build/lib/github/AuthenticatedUser.py build/lib/github/NotificationSubject.py build/lib/github/GithubObject.py build/lib/github/CommitComment.py build/lib/github/GithubException.py build/lib/github/RepositoryKey.py build/lib/github/StatsParticipation.py build/lib/github/Invitation.py build/lib/github/Organization.py build/lib/github/BranchProtection.py build/lib/github/StatsContributor.py build/lib/github/Rate.py build/lib/github/Milestone.py build/lib/github/GistFile.py build/lib/github/__init__.py build/lib/github/ContentFile.py build/lib/github/File.py build/lib/github/MainClass.py build/lib/github/GitBlob.py build/lib/github/InputGitAuthor.py build/lib/github/SourceImport.py build/lib/github/Permissions.py build/lib/github/View.py build/lib/github/Comparison.py build/lib/github/RequiredStatusChecks.py build/lib/github/Commit.py build/lib/github/IssueEvent.py build/lib/github/StatsCodeFrequency.py build/lib/github/GitReleaseAsset.py build/lib/github/GitObject.py build/lib/github/Download.py build/lib/github/CommitCombinedStatus.py build/lib/github/GitRelease.py build/lib/github/UserKey.py build/lib/github/PullRequestPart.py build/lib/github/Reaction.py build/lib/github/ProjectColumn.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
Fixing build/lib/github/StatsCommitActivity.py build/lib/github/StatsPunchCard.py build/lib/github/Label.py build/lib/github/Project.py build/lib/github/Authorization.py build/lib/github/PullRequestReview.py build/lib/github/Event.py build/lib/github/PullRequestComment.py build/lib/github/InputGitTreeElement.py build/lib/github/GitAuthor.py build/lib/github/PaginatedList.py build/lib/github/IssueComment.py build/lib/github/RateLimit.py build/lib/github/AuthorizationApplication.py build/lib/github/HookResponse.py build/lib/github/GistHistoryState.py build/lib/github/Consts.py build/lib/github/GistComment.py build/lib/github/License.py build/lib/github/Team.py build/lib/github/Tag.py build/lib/github/InstallationAuthorization.py build/lib/github/ProjectCard.py build/lib/github/InputFileContent.py build/lib/github/GitTree.py build/lib/github/GitignoreTemplate.py build/lib/github/Hook.py build/lib/github/Installation.py build/lib/github/Migration.py build/lib/github/PullRequest.py build/lib/github/CommitStatus.py build/lib/github/GitTag.py build/lib/github/GitCommit.py build/lib/github/Legacy.py build/lib/github/Requester.py build/lib/github/Notification.py build/lib/github/PullRequestMergeStatus.py build/lib/github/GitTreeElement.py build/lib/github/Stargazer.py build/lib/github/IssuePullRequest.py build/lib/github/Plan.py build/lib/github/GitRef.py build/lib/github/Issue.py build/lib/github/HookDescription.py build/lib/github/Referrer.py build/lib/github/Branch.py build/lib/github/Gist.py build/lib/github/Clones.py build/lib/github/Repository.py build/lib/github/RequiredPullRequestReviews.py build/lib/github/Topic.py build/lib/github/NamedUser.py build/lib/github/CommitStats.py build/lib/github/Path.py build/lib/github/AuthenticatedUser.py build/lib/github/NotificationSubject.py build/lib/github/GithubObject.py build/lib/github/CommitComment.py build/lib/github/GithubException.py build/lib/github/RepositoryKey.py build/lib/github/StatsParticipation.py build/lib/github/Invitation.py build/lib/github/Organization.py build/lib/github/BranchProtection.py build/lib/github/StatsContributor.py build/lib/github/Rate.py build/lib/github/Milestone.py build/lib/github/GistFile.py build/lib/github/__init__.py build/lib/github/ContentFile.py build/lib/github/File.py build/lib/github/MainClass.py build/lib/github/GitBlob.py build/lib/github/InputGitAuthor.py build/lib/github/SourceImport.py build/lib/github/Permissions.py build/lib/github/View.py build/lib/github/Comparison.py build/lib/github/RequiredStatusChecks.py build/lib/github/Commit.py build/lib/github/IssueEvent.py build/lib/github/StatsCodeFrequency.py build/lib/github/GitReleaseAsset.py build/lib/github/GitObject.py build/lib/github/Download.py build/lib/github/CommitCombinedStatus.py build/lib/github/GitRelease.py build/lib/github/UserKey.py build/lib/github/PullRequestPart.py build/lib/github/Reaction.py build/lib/github/ProjectColumn.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running egg_info
creating /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info
writing /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/PKG-INFO
writing dependency_links to /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/dependency_links.txt
writing requirements to /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/requires.txt
writing top-level names to /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/top_level.txt
writing manifest file '/home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/SOURCES.txt'
reading manifest file '/home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file '/home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/SOURCES.txt'
running build_ext
testAcceptInvitation (tests.AuthenticatedUser.AuthenticatedUser) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=4>
  self.fd = FakeSockFile()
/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=5>
  self.fd = FakeSockFile()
ok
testAttributes (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithClientIdAndSecret (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateFork (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGist (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGistWithoutDescription (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateKey (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateMigration (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepository (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAutoInit (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEmails (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testFollowing (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetAuthorizations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetKeys (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetMigrations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotification (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotifications (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotificationsWithOtherArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrganizationEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrgs (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetRepos (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetReposWithArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetStarredGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetTeams (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testMarkNotificationsAsRead (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testStarring (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testSubscriptions (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testWatching (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAuthorizationHeaderWithLogin (tests.Authentication.Authentication) ... ok
testAuthorizationHeaderWithToken (tests.Authentication.Authentication) ... ok
testBasicAuthentication (tests.Authentication.Authentication) ... ok
testJWTAuthentication (tests.Authentication.Authentication) ... ok
testNoAuthentication (tests.Authentication.Authentication) ... ok
testOAuthAuthentication (tests.Authentication.Authentication) ... ok
testSecretKeyAuthentication (tests.Authentication.Authentication) ... ok
testUserAgent (tests.Authentication.Authentication) ... ok
testAttributes (tests.Authorization.Authorization) ... ok
testDelete (tests.Authorization.Authorization) ... ok
testEdit (tests.Authorization.Authorization) ... ok
testBadAttributeInClassAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadAttributeTransformation (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInDict (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testIssue195 (tests.BadAttributes.BadAttributes) ... ok
testAddRequiredSignatures (tests.Branch.Branch) ... ok
testAdminEnforcement (tests.Branch.Branch) ... ok
testAttributes (tests.Branch.Branch) ... ok
testEditProtection (tests.Branch.Branch) ... ok
testEditProtectionDismissalUsersWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsAndDismissalUser (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers (tests.Branch.Branch) ... ok
testEditRequiredStatusChecks (tests.Branch.Branch) ... ok
testEditTeamPushRestrictions (tests.Branch.Branch) ... ok
testEditUserPushRestrictions (tests.Branch.Branch) ... ok
testGetRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveProtection (tests.Branch.Branch) ... ok
testRemovePushRestrictions (tests.Branch.Branch) ... ok
testRemoveRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testRemoveRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveRequiredStatusChecks (tests.Branch.Branch) ... ok
testAttributes (tests.BranchProtection.BranchProtection) ... ok
testAttributes (tests.Commit.Commit) ... ok
testCreateComment (tests.Commit.Commit) ... ok
testCreateCommentOnFileLine (tests.Commit.Commit) ... ok
testCreateCommentOnFilePosition (tests.Commit.Commit) ... ok
testCreateStatusWithAllParameters (tests.Commit.Commit) ... ok
testCreateStatusWithoutOptionalParameters (tests.Commit.Commit) ... ok
testGetComments (tests.Commit.Commit) ... ok
testAttributes (tests.CommitCombinedStatus.CommitCombinedStatus) ... ok
testAttributes (tests.CommitComment.CommitComment) ... ok
testCreateReaction (tests.CommitComment.CommitComment) ... ok
testDelete (tests.CommitComment.CommitComment) ... ok
testEdit (tests.CommitComment.CommitComment) ... ok
testGetReactions (tests.CommitComment.CommitComment) ... ok
testAttributes (tests.CommitStatus.CommitStatus) ... ok
testDidNotUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testDidUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testUpdateObjectWithoutEtag (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testAttributes (tests.ContentFile.ContentFile) ... ok
testAttributes (tests.Download.Download) ... ok
testDelete (tests.Download.Download) ... ok
testHttp (tests.Enterprise.Enterprise) ... ok
testHttps (tests.Enterprise.Enterprise) ... ok
testLongUrl (tests.Enterprise.Enterprise) ... ok
testSpecificPort (tests.Enterprise.Enterprise) ... ok
testUnknownUrlScheme (tests.Enterprise.Enterprise) ... ok
testBranchEquality (tests.Equality.Equality) ... ok
testUserDifference (tests.Equality.Equality) ... ok
testUserEquality (tests.Equality.Equality) ... ok
testAttributes (tests.Event.Event) ... ok
testBadAuthentication (tests.Exceptions.Exceptions) ... ok
testExceptionPickling (tests.Exceptions.Exceptions) ... ok
testInvalidInput (tests.Exceptions.Exceptions) ... ok
testNonJsonDataReturnedByGithub (tests.Exceptions.Exceptions) ... ok
testUnknownObject (tests.Exceptions.Exceptions) ... ok
testUnknownUser (tests.Exceptions.Exceptions) ... ok
testAllClasses (tests.ExposeAllAttributes.ExposeAllAttributes) ... ok
testAttributes (tests.Gist.Gist) ... ok
testCreateComment (tests.Gist.Gist) ... ok
testDelete (tests.Gist.Gist) ... ok
testDeleteFile (tests.Gist.Gist) ... ok
testEditWithAllParameters (tests.Gist.Gist) ... ok
testEditWithoutParameters (tests.Gist.Gist) ... ok
testFork (tests.Gist.Gist) ... ok
testGetComments (tests.Gist.Gist) ... ok
testRenameFile (tests.Gist.Gist) ... ok
testStarring (tests.Gist.Gist) ... ok
testAttributes (tests.GistComment.GistComment) ... ok
testDelete (tests.GistComment.GistComment) ... ok
testEdit (tests.GistComment.GistComment) ... ok
testAttributes (tests.GitBlob.GitBlob) ... ok
testAttributes (tests.GitCommit.GitCommit) ... ok
testAttributes (tests.GitRef.GitRef) ... ok
testDelete (tests.GitRef.GitRef) ... ok
testEdit (tests.GitRef.GitRef) ... ok
testEditWithForce (tests.GitRef.GitRef) ... ok
testAttributes (tests.GitTag.GitTag) ... ok
testAttributes (tests.GitTree.GitTree) ... ok
testGetEmojis (tests.Github_.Github) ... ok
testGetGists (tests.Github_.Github) ... ok
testGetGistsWithSince (tests.Github_.Github) ... ok
testGetGitignoreTemplate (tests.Github_.Github) ... ok
testGetGitignoreTemplates (tests.Github_.Github) ... ok
testGetHook (tests.Github_.Github) ... ok
testGetHooks (tests.Github_.Github) ... ok
testGetLicense (tests.Github_.Github) ... ok
testGetLicenses (tests.Github_.Github) ... ok
testGetOrganizations (tests.Github_.Github) ... ok
testGetOrganizationsSince (tests.Github_.Github) ... ok
testGetRepoFromFullName (tests.Github_.Github) ... ok
testGetRepoFromId (tests.Github_.Github) ... ok
testGetRepos (tests.Github_.Github) ... ok
testGetReposSince (tests.Github_.Github) ... ok
testGetUsers (tests.Github_.Github) ... ok
testGetUsersSince (tests.Github_.Github) ... ok
testStringOfNotSet (tests.Github_.Github) ... ok
testCreateJWT (tests.GithubIntegration.GithubIntegration) ... /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py3.7.egg/jwt/api_jwt.py:81: DeprecationWarning: It is strongly recommended that you pass in a value for the "algorithms" argument when calling decode(). This argument will be mandatory in a future version.
  DeprecationWarning
/home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py3.7.egg/jwt/api_jws.py:145: DeprecationWarning: It is strongly recommended that you pass in a value for the "algorithms" argument when calling decode(). This argument will be mandatory in a future version.
  DeprecationWarning
ok
testGetAccessToken (tests.GithubIntegration.GithubIntegration) ... ok
testAttributes (tests.Hook.Hook) ... ok
testDelete (tests.Hook.Hook) ... ok
testEditWithAllParameters (tests.Hook.Hook) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=7>
  self.fd = FakeSockFile()
ok
testEditWithMinimalParameters (tests.Hook.Hook) ... ok
testPing (tests.Hook.Hook) ... ok
testTest (tests.Hook.Hook) ... ok
testAddAndRemoveAssignees (tests.Issue.Issue) ... ok
testAddAndRemoveLabels (tests.Issue.Issue) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.Issue.Issue) ... ok
testAttributes (tests.Issue.Issue) ... ok
testCreateComment (tests.Issue.Issue) ... ok
testCreateReaction (tests.Issue.Issue) ... ok
testDeleteAndSetLabels (tests.Issue.Issue) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.Issue.Issue) ... ok
testEditResetAssignee (tests.Issue.Issue) ... ok
testEditResetMilestone (tests.Issue.Issue) ... ok
testEditWithAllParameters (tests.Issue.Issue) ... ok
testEditWithoutParameters (tests.Issue.Issue) ... ok
testGetComments (tests.Issue.Issue) ... ok
testGetCommentsSince (tests.Issue.Issue) ... ok
testGetEvents (tests.Issue.Issue) ... ok
testGetLabels (tests.Issue.Issue) ... ok
testGetReactions (tests.Issue.Issue) ... ok
testLock (tests.Issue.Issue) ... ERROR
ERROR
testUnlock (tests.Issue.Issue) ... ERROR
ERROR
testGetPullWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPullsWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPageWithoutInitialArguments (tests.Issue133.Issue133) ... ok
testGetAuthorizationsFailsWhenAutenticatedThroughOAuth (tests.Issue134.Issue134) ... ok
testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword (tests.Issue134.Issue134) ... ok
testGetOAuthScopesFromHeader (tests.Issue134.Issue134) ... ok
testCompletion (tests.Issue139.Issue139) ... ok
testGetDirContentsThenLazyCompletionOfFile (tests.Issue140.Issue140) ... ok
testGetDirContentsWithRef (tests.Issue140.Issue140) ... ok
testGetFileContents (tests.Issue140.Issue140) ... ok
testDecodeJson (tests.Issue142.Issue142) ... /home/travis/build/PyGithub/PyGithub/tests/Issue142.py:36: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.160', 54686), raddr=('192.30.253.116', 443)>
  self.assertEqual(github.Github().get_rate_limit().core.limit, 60)
ok
testPaginationWithSecretKeyAuthentication (tests.Issue158.Issue158) ... ok
testGetDirContentsWhithHttpRedirect (tests.Issue174.Issue174) ... ok
testAssignees (tests.Issue214.Issue214) ... ok
testCollaborators (tests.Issue214.Issue214) ... ok
testCreateIssue (tests.Issue214.Issue214) ... ok
testEditIssue (tests.Issue214.Issue214) ... ok
testGetIssues (tests.Issue214.Issue214) ... ok
testIteration (tests.Issue216.Issue216) ... ok
testIteration (tests.Issue278.Issue278) ... ok
testClosedIssues (tests.Issue33.Issue33) ... ok
testOpenIssues (tests.Issue33.Issue33) ... ok
testRepr (tests.Issue494.Issue494) ... ok
testAddLabelToIssue (tests.Issue50.Issue50) ... ok
testCreateIssueWithLabel (tests.Issue50.Issue50) ... ok
testCreateLabel (tests.Issue50.Issue50) ... ok
testGetIssuesWithLabel (tests.Issue50.Issue50) ... ok
testGetLabel (tests.Issue50.Issue50) ... ok
testGetLabels (tests.Issue50.Issue50) ... ok
testIssueGetLabels (tests.Issue50.Issue50) ... ok
testIssueLabels (tests.Issue50.Issue50) ... ok
testRemoveLabelFromIssue (tests.Issue50.Issue50) ... ok
testSetIssueLabels (tests.Issue50.Issue50) ... ok
testConversion (tests.Issue54.Issue54) ... ok
testIssueAsPullRequest (tests.Issue572.Issue572) ... ok
testPullReqeustAsIssue (tests.Issue572.Issue572) ... ok
testIgnoreHttpsFromGithubEnterprise (tests.Issue80.Issue80) ... ok
testIgnoreHttpsFromGithubEnterpriseWithPort (tests.Issue80.Issue80) ... ok
testCreateIssueWithEscapedPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithEscapedPercentInTitle (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInTitle (tests.Issue87.Issue87) ... ok
testCollaboratorsAffiliation (tests.Issue937.Issue937) ... ok
testReservedPaginatedListAttributePreservation (tests.Issue945.Issue945) ... ok
testAttributes (tests.IssueComment.IssueComment) ... ok
testCreateReaction (tests.IssueComment.IssueComment) ... ok
testDelete (tests.IssueComment.IssueComment) ... ok
testEdit (tests.IssueComment.IssueComment) ... ok
testGetReactions (tests.IssueComment.IssueComment) ... ok
testEvent_added_to_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_assigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_base_ref_changed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_closed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_converted_note_to_issue_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_demilestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_deleted_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_restored_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_labeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_locked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_marked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_mentioned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_merged_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_milestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_moved_columns_in_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_referenced_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_removed_from_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_renamed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_reopened_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_dismissed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_request_removed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_requested_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_subscribed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unassigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlabeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlocked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unmarked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testAttributes (tests.Label.Label) ... ok
testDelete (tests.Label.Label) ... ok
testEdit (tests.Label.Label) ... ok
testGetIssues (tests.Repository.LazyRepository) ... ok
testOwner (tests.Repository.LazyRepository) ... ok
testAttributes (tests.License.License) ... ok
testLoggingWithBaseUrl (tests.Logging_.Logging) ... ok
testLoggingWithBasicAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithOAuthAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithoutAuthentication (tests.Logging_.Logging) ... ok
testRenderGithubFlavoredMarkdown (tests.Markdown.Markdown) ... ok
testRenderMarkdown (tests.Markdown.Markdown) ... ok
testAttributes (tests.Migration.Migration) ... ok
testDelete (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenDeleted (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenExported (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenNotExported (tests.Migration.Migration) ... ok
testGetStatus (tests.Migration.Migration) ... ok
testUnlockRepo (tests.Migration.Migration) ... ok
testAttributes (tests.Milestone.Milestone) ... ok
testDelete (tests.Milestone.Milestone) ... ok
testEditWithAllParameters (tests.Milestone.Milestone) ... ok
testEditWithMinimalParameters (tests.Milestone.Milestone) ... ok
testGetLabels (tests.Milestone.Milestone) ... ok
testAttributesOfOtherUser (tests.NamedUser.NamedUser) ... ok
testAttributesOfSelf (tests.NamedUser.NamedUser) ... ok
testGetEvents (tests.NamedUser.NamedUser) ... ok
testGetFollowers (tests.NamedUser.NamedUser) ... ok
testGetFollowing (tests.NamedUser.NamedUser) ... ok
testGetGists (tests.NamedUser.NamedUser) ... ok
testGetKeys (tests.NamedUser.NamedUser) ... ok
testGetOrgs (tests.NamedUser.NamedUser) ... ok
testGetPublicEvents (tests.NamedUser.NamedUser) ... ok
testGetPublicReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetRepo (tests.NamedUser.NamedUser) ... ok
testGetRepos (tests.NamedUser.NamedUser) ... ok
testGetReposWithType (tests.NamedUser.NamedUser) ... ok
testGetStarred (tests.NamedUser.NamedUser) ... ok
testGetSubscriptions (tests.NamedUser.NamedUser) ... ok
testGetWatched (tests.NamedUser.NamedUser) ... ok
testHasInFollowing (tests.NamedUser.NamedUser) ... ok
testUserEquality (tests.NamedUser.NamedUser) ... ok
testMarkAsRead (tests.Notification.Notification) ... ok
testAddMembersAdminRole (tests.Organization.Organization) ... ok
testAddMembersDefaultRole (tests.Organization.Organization) ... ok
testAttributes (tests.Organization.Organization) ... ok
testCreateFork (tests.Organization.Organization) ... ok
testCreateHookWithAllParameters (tests.Organization.Organization) ... ok
testCreateHookWithMinimalParameters (tests.Organization.Organization) ... ok
testCreateMigration (tests.Organization.Organization) ... ok
testCreateRepoWithAllArguments (tests.Organization.Organization) ... ok
testCreateRepoWithMinimalArguments (tests.Organization.Organization) ... ok
testCreateRepositoryWithAutoInit (tests.Organization.Organization) ... ok
testCreateTeam (tests.Organization.Organization) ... ok
testCreateTeamWithAllArguments (tests.Organization.Organization) ... ok
testDeleteHook (tests.Organization.Organization) ... ok
testEditHookWithAllParameters (tests.Organization.Organization) ... ok
testEditHookWithMinimalParameters (tests.Organization.Organization) ... ok
testEditWithAllArguments (tests.Organization.Organization) ... ok
testEditWithoutArguments (tests.Organization.Organization) ... ok
testGetEvents (tests.Organization.Organization) ... ok
testGetHooks (tests.Organization.Organization) ... ok
testGetIssues (tests.Organization.Organization) ... ok
testGetIssuesWithAllArguments (tests.Organization.Organization) ... ok
testGetMembers (tests.Organization.Organization) ... ok
testGetMigrations (tests.Organization.Organization) ... ok
testGetOutsideCollaborators (tests.Organization.Organization) ... ok
testGetPublicMembers (tests.Organization.Organization) ... ok
testGetRepos (tests.Organization.Organization) ... ok
testGetReposWithType (tests.Organization.Organization) ... ok
testGetTeams (tests.Organization.Organization) ... ok
testInviteUserAsNonOwner (tests.Organization.Organization) ... ok
testInviteUserByEmail (tests.Organization.Organization) ... ok
testInviteUserByName (tests.Organization.Organization) ... ok
testInviteUserWithBoth (tests.Organization.Organization) ... ok
testInviteUserWithNeither (tests.Organization.Organization) ... ok
testInviteUserWithRoleAndTeam (tests.Organization.Organization) ... ok
testMembers (tests.Organization.Organization) ... ok
testOutsideCollaborators (tests.Organization.Organization) ... ok
testPublicMembers (tests.Organization.Organization) ... ok
testHasInMembers (tests.OrganizationHasInMembers.OrganizationHasInMembers) ... ok
testCustomPerPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithGetPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams2 (tests.PaginatedList.PaginatedList) ... ok
testGetFirstPage (tests.PaginatedList.PaginatedList) ... ok
testGetThirdPage (tests.PaginatedList.PaginatedList) ... ok
testGettingTheReversedListDoesNotModifyTheOriginalList (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingAfterIteration (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInThirdPage (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIteration (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIterationInSlice (tests.PaginatedList.PaginatedList) ... ok
testIteration (tests.PaginatedList.PaginatedList) ... ok
testNoFirstPage (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationSupportsIterator (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithMultiplePages (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithSinglePage (tests.PaginatedList.PaginatedList) ... ok
testSeveralIterations (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilEnd (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilFourthPage (tests.PaginatedList.PaginatedList) ... ok
testLoad (tests.Persistence.Persistence) ... ok
testLoadAndUpdate (tests.Persistence.Persistence) ... ok
testCreateCardFromIssue (tests.Project.Project) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=8>
  self.fd = FakeSockFile()
/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=9>
  self.fd = FakeSockFile()
ok
testCreateCardWithNote (tests.Project.Project) ... ok
testCreateColumn (tests.Project.Project) ... ok
testGetAllProjectCards (tests.Project.Project) ... ok
testGetOrganizationProjects (tests.Project.Project) ... ok
testGetProject (tests.Project.Project) ... /home/travis/build/PyGithub/PyGithub/build/lib/github/GithubObject.py:55: ResourceWarning: unclosed file <_io.BufferedReader name='/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Persistence.setUp.txt'>
  self.value = value
/home/travis/build/PyGithub/PyGithub/build/lib/github/GithubObject.py:55: ResourceWarning: unclosed file <_io.BufferedReader name='/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Persistence.testLoadAndUpdate.txt'>
  self.value = value
ok
testGetProjectCardContent (tests.Project.Project) ... ok
testGetRepositoryProjects (tests.Project.Project) ... ok
testProjectAttributes (tests.Project.Project) ... ok
testProjectCardAttributes (tests.Project.Project) ... ok
testProjectColumnAttributes (tests.Project.Project) ... ok
testAddAndRemoveLabels (tests.PullRequest.PullRequest) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequest.PullRequest) ... ok
testAttributesIssue256 (tests.PullRequest.PullRequest) ... ok
testCreateComment (tests.PullRequest.PullRequest) ... ok
testCreateIssueComment (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabels (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testEditWithAllArguments (tests.PullRequest.PullRequest) ... ok
testEditWithoutArguments (tests.PullRequest.PullRequest) ... ok
testGetComments (tests.PullRequest.PullRequest) ... ok
testGetCommits (tests.PullRequest.PullRequest) ... ok
testGetFiles (tests.PullRequest.PullRequest) ... ok
testGetIssueComment (tests.PullRequest.PullRequest) ... ok
testGetIssueComments (tests.PullRequest.PullRequest) ... ok
testGetLabels (tests.PullRequest.PullRequest) ... ok
testGetReviewComments (tests.PullRequest.PullRequest) ... ok
testMerge (tests.PullRequest.PullRequest) ... ok
testMergeWithCommitMessage (tests.PullRequest.PullRequest) ... ok
testReviewRequests (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequestComment.PullRequestComment) ... ok
testCreateReaction (tests.PullRequestComment.PullRequestComment) ... ok
testDelete (tests.PullRequestComment.PullRequestComment) ... ok
testEdit (tests.PullRequestComment.PullRequestComment) ... ok
testGetReactions (tests.PullRequestComment.PullRequestComment) ... ok
testAttributes (tests.PullRequestFile.PullRequestFile) ... ok
testAttributes (tests.PullRequestReview.PullRequestReview) ... ok
testDismiss (tests.PullRequestReview.PullRequestReview) ... ok
testGetRateLimit (tests.RateLimiting.RateLimiting) ... ok
testRateLimiting (tests.RateLimiting.RateLimiting) ... ok
testResetTime (tests.RateLimiting.RateLimiting) ... ok
testCompletedObject (tests.RawData.RawData) ... ok
testCreateObjectFromRawData (tests.RawData.RawData) ... ok
testNonCompletableObject (tests.RawData.RawData) ... ok
testNotYetCompletedObject (tests.RawData.RawData) ... ok
testAttributes (tests.Reaction.Reaction) ... ok
testDelete (tests.Reaction.Reaction) ... ok
testAttributes (tests.GitRelease.Release) ... ok
testCreateGitTagAndRelease (tests.GitRelease.Release) ... ok
testDelete (tests.GitRelease.Release) ... ok
testGetAsset (tests.GitRelease.Release) ... ok
testGetAssets (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=10>
  self.fd = FakeSockFile()
ok
testGetLatestRelease (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=11>
  self.fd = FakeSockFile()
ok
testGetRelease (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=12>
  self.fd = FakeSockFile()
ok
testUpdate (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=13>
  self.fd = FakeSockFile()
/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=14>
  self.fd = FakeSockFile()
ok
testUploadAsset (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=15>
  self.fd = FakeSockFile()
/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=16>
  self.fd = FakeSockFile()
ok
testAttributes (tests.GitReleaseAsset.ReleaseAsset) ... ok
testDelete (tests.GitReleaseAsset.ReleaseAsset) ... ok
testUpdate (tests.GitReleaseAsset.ReleaseAsset) ... ok
testAttributes (tests.RepositoryKey.RepositoryKey) ... ok
testDelete (tests.RepositoryKey.RepositoryKey) ... ok
testAttributes (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testOrganizationOwnedTeam (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testAttributes (tests.RequiredStatusChecks.RequiredStatusChecks) ... ok
testRaisesRetryErrorAfterMaxRetries (tests.Retry.Retry) ... ok
testReturnsRepoAfter1Retry (tests.Retry.Retry) ... ok
testReturnsRepoAfter3Retries (tests.Retry.Retry) ... ok
testShouldNotRetryWhenStatusNotOnList (tests.Retry.Retry) ... ok
testGetPageOnSearchUsers (tests.Search.Search) ... ok
testPaginateSearchCommits (tests.Search.Search) ... ok
testPaginateSearchTopics (tests.Search.Search) ... ok
testPaginateSearchUsers (tests.Search.Search) ... ok
testSearchCode (tests.Search.Search) ... ok
testSearchHighlightingCode (tests.Search.Search) ... ok
testSearchIssues (tests.Search.Search) ... ok
testSearchRepos (tests.Search.Search) ... ok
testSearchReposWithNoResults (tests.Search.Search) ... ok
testSearchTopics (tests.Search.Search) ... ok
testSearchUsers (tests.Search.Search) ... ok
testUrlquotingOfQualifiers (tests.Search.Search) ... ok
testUrlquotingOfQuery (tests.Search.Search) ... ok
testAttributes (tests.SourceImport.SourceImport) ... ok
testAuthenticatedRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testBadCredentials (tests.Exceptions.SpecificExceptions) ... ok
testBadUserAgent (tests.Exceptions.SpecificExceptions) ... ok
testRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testUnknownObject (tests.Exceptions.SpecificExceptions) ... ok
testAttributes (tests.Tag.Tag) ... ok
testAttributes (tests.Team.Team) ... ok
testDelete (tests.Team.Team) ... ok
testEditWithAllArguments (tests.Team.Team) ... ok
testEditWithoutArguments (tests.Team.Team) ... ok
testMembers (tests.Team.Team) ... ok
testRepoPermission (tests.Team.Team) ... ok
testRepos (tests.Team.Team) ... ok
testGetClones (tests.Traffic.Traffic) ... ok
testGetPaths (tests.Traffic.Traffic) ... ok
testGetReferrers (tests.Traffic.Traffic) ... ok
testGetViews (tests.Traffic.Traffic) ... ok
testAttributes (tests.UserKey.UserKey) ... ok
testDelete (tests.UserKey.UserKey) ... ok

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 97, in testLock
    self.issue.lock("resolved")
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Issue.py", line 374, in lock
    headers={'Accept': Consts.mediaTypeLockReasonPreview}
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 405, in __requestRaw
    cnx = self.__createConnection()
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 473, in __createConnection
    self.__connection = self.__connectionClass(self.__hostname, self.__port, retry = self.__retry, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 287, in <lambda>
    lambda ignored, *args, **kwds: ReplayingHttpsConnection(self, self.__openFile("rb"), *args, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 313, in __openFile
    self.__file = open(self.__fileName, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Issue.testLock.txt'

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 56, in readLine
    return file.readline().decode("utf-8").strip()
ValueError: readline of closed file

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 100, in testUnlock
    self.issue.unlock()
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Issue.py", line 384, in unlock
    self.url + "/lock"
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 405, in __requestRaw
    cnx = self.__createConnection()
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 473, in __createConnection
    self.__connection = self.__connectionClass(self.__hostname, self.__port, retry = self.__retry, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 287, in <lambda>
    lambda ignored, *args, **kwds: ReplayingHttpsConnection(self, self.__openFile("rb"), *args, **kwds)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 313, in __openFile
    self.__file = open(self.__fileName, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Issue.testUnlock.txt'

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 56, in readLine
    return file.readline().decode("utf-8").strip()
ValueError: readline of closed file

----------------------------------------------------------------------
Ran 463 tests in 21.156s

FAILED (errors=4)
Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>
Coverage.py warning: Module github/tests was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)
error: Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>
TravisBuddy Request Identifier: 01244fd0-6cb8-11e9-9452-cfb48ed6d674

@FFY00
Copy link
Contributor Author

FFY00 commented May 2, 2019

Yeah, but I am not adding attributes. I am adding functions.

@sfdye
Copy link
Member

sfdye commented May 2, 2019

@FFY00
Copy link
Contributor Author

FFY00 commented May 2, 2019

I am getting an error saying the issue was not found. I get the same from other tests.

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/Issue.py", line 44, in setUp
    self.issue = self.repo.get_issue(28)
  File "github/Repository.py", line 1990, in get_issue
    self.url + "/issues/" + str(number)
  File "github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "github/Requester.py", line 286, in __check
    raise self.__createException(status, responseHeaders, output)
UnknownObjectException: 404 {u'documentation_url': u'https://developer.github.com/v3/issues/#get-a-single-issue', u'message': u'Not Found'}

----------------------------------------------------------------------

@TravisBuddy
Copy link

Travis tests have failed

Hey @FFY00,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then python -m lib2to3 -w -n tests; fi
The command "if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then python -m lib2to3 -w -n tests; fi" exited with 0.

$ coverage run --source github/tests setup.py test
running test
Searching for pyjwt
Reading https://pypi.python.org/simple/pyjwt/
Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl#sha256=5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e
Best match: PyJWT 1.7.1
Processing PyJWT-1.7.1-py2.py3-none-any.whl
Installing PyJWT-1.7.1-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py2.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py2.7.egg
Searching for deprecated
Reading https://pypi.python.org/simple/deprecated/
Downloading https://files.pythonhosted.org/packages/9f/7a/003fa432f1e45625626549726c2fbb7a29baa764e9d1fdb2323a5d779f8a/Deprecated-1.2.5-py2.py3-none-any.whl#sha256=749f6cdcfbdc3f79258f8154bad43fced95adc632c337675d0385959895894bc
Best match: Deprecated 1.2.5
Processing Deprecated-1.2.5-py2.py3-none-any.whl
Installing Deprecated-1.2.5-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py2.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py2.7.egg
Searching for wrapt<2,>=1
Reading https://pypi.python.org/simple/wrapt/
Downloading https://files.pythonhosted.org/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz#sha256=4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533
Best match: wrapt 1.11.1
Processing wrapt-1.11.1.tar.gz
Writing /tmp/easy_install-UWqGsh/wrapt-1.11.1/setup.cfg
Running wrapt-1.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-UWqGsh/wrapt-1.11.1/egg-dist-tmp-1p149Z
zip_safe flag not set; analyzing archive contents...
Moving wrapt-1.11.1-py2.7-linux-x86_64.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/wrapt-1.11.1-py2.7-linux-x86_64.egg
Searching for httpretty==0.9.6
Reading https://pypi.python.org/simple/httpretty/
Downloading https://files.pythonhosted.org/packages/6e/84/c779ebe4411195716588b413dd594373144c411762c158b579cf36b37168/httpretty-0.9.6.tar.gz#sha256=01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc
Best match: httpretty 0.9.6
Processing httpretty-0.9.6.tar.gz
Writing /tmp/easy_install-vS5NRT/httpretty-0.9.6/setup.cfg
Running httpretty-0.9.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vS5NRT/httpretty-0.9.6/egg-dist-tmp-cSurwT
creating /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg
Extracting httpretty-0.9.6-py2.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg
Searching for cryptography
Reading https://pypi.python.org/simple/cryptography/
Downloading https://files.pythonhosted.org/packages/c3/c1/cf8665c955c9393e9ff0872ba6cd3dc6f46ef915e94afcf6e0410508ca69/cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl#sha256=2db34e5c45988f36f7a08a7ab2b69638994a8923853dec2d4af121f689c66dc8
Best match: cryptography 2.6.1
Processing cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl
Installing cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py2.7-linux-x86_64.egg
Searching for ipaddress
Reading https://pypi.python.org/simple/ipaddress/
Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl#sha256=64b28eec5e78e7510698f6d4da08800a5c575caa4a286c93d651c5d3ff7b6794
Best match: ipaddress 1.0.22
Processing ipaddress-1.0.22-py2.py3-none-any.whl
Installing ipaddress-1.0.22-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/ipaddress-1.0.22-py2.7.egg
Searching for enum34
Reading https://pypi.python.org/simple/enum34/
Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl#sha256=6bd0f6ad48ec2aa117d3d141940d484deccda84d4fcd884f5c3d93c23ecd8c79
Best match: enum34 1.1.6
Processing enum34-1.1.6-py2-none-any.whl
Installing enum34-1.1.6-py2-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/enum34-1.1.6-py2.7.egg
Searching for cffi!=1.11.3,>=1.8
Reading https://pypi.python.org/simple/cffi/
Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl#sha256=2444d0c61f03dcd26dbf7600cf64354376ee579acad77aef459e34efcb438c63
Best match: cffi 1.12.3
Processing cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl
Installing cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py2.7-linux-x86_64.egg
Searching for asn1crypto>=0.21.0
Reading https://pypi.python.org/simple/asn1crypto/
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl#sha256=2f1adbb7546ed199e3c90ef23ec95c5cf3585bac7d11fb7eb562a3fe89c64e87
Best match: asn1crypto 0.24.0
Processing asn1crypto-0.24.0-py2.py3-none-any.whl
Installing asn1crypto-0.24.0-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/asn1crypto-0.24.0-py2.7.egg
Searching for pycparser
Reading https://pypi.python.org/simple/pycparser/
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz#sha256=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
Best match: pycparser 2.19
Processing pycparser-2.19.tar.gz
Writing /tmp/easy_install-lppqkk/pycparser-2.19/setup.cfg
Running pycparser-2.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lppqkk/pycparser-2.19/egg-dist-tmp-yfC541
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.lex: module references __file__
pycparser.ply.lex: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module references __file__
pycparser.ply.yacc: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module MAY be using inspect.stack
pycparser.ply.ygen: module references __file__
creating /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py2.7.egg
Extracting pycparser-2.19-py2.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py2.7.egg
running egg_info
creating PyGithub.egg-info
writing requirements to PyGithub.egg-info/requires.txt
writing PyGithub.egg-info/PKG-INFO
writing top-level names to PyGithub.egg-info/top_level.txt
writing dependency_links to PyGithub.egg-info/dependency_links.txt
writing manifest file 'PyGithub.egg-info/SOURCES.txt'
reading manifest file 'PyGithub.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PyGithub.egg-info/SOURCES.txt'
running build_ext
testAcceptInvitation (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAttributes (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithClientIdAndSecret (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateFork (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGist (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGistWithoutDescription (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateKey (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateMigration (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepository (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAutoInit (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEmails (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testFollowing (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetAuthorizations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetKeys (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetMigrations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotification (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotifications (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotificationsWithOtherArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrganizationEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrgs (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetRepos (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetReposWithArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetStarredGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetTeams (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testMarkNotificationsAsRead (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testStarring (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testSubscriptions (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testWatching (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAuthorizationHeaderWithLogin (tests.Authentication.Authentication) ... ok
testAuthorizationHeaderWithToken (tests.Authentication.Authentication) ... ok
testBasicAuthentication (tests.Authentication.Authentication) ... ok
testJWTAuthentication (tests.Authentication.Authentication) ... ok
testNoAuthentication (tests.Authentication.Authentication) ... ok
testOAuthAuthentication (tests.Authentication.Authentication) ... ok
testSecretKeyAuthentication (tests.Authentication.Authentication) ... ok
testUserAgent (tests.Authentication.Authentication) ... ok
testAttributes (tests.Authorization.Authorization) ... ok
testDelete (tests.Authorization.Authorization) ... ok
testEdit (tests.Authorization.Authorization) ... ok
testBadAttributeInClassAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadAttributeTransformation (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInDict (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testIssue195 (tests.BadAttributes.BadAttributes) ... ok
testAddRequiredSignatures (tests.Branch.Branch) ... ok
testAdminEnforcement (tests.Branch.Branch) ... ok
testAttributes (tests.Branch.Branch) ... ok
testEditProtection (tests.Branch.Branch) ... ok
testEditProtectionDismissalUsersWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsAndDismissalUser (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers (tests.Branch.Branch) ... ok
testEditRequiredStatusChecks (tests.Branch.Branch) ... ok
testEditTeamPushRestrictions (tests.Branch.Branch) ... ok
testEditUserPushRestrictions (tests.Branch.Branch) ... ok
testGetRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveProtection (tests.Branch.Branch) ... ok
testRemovePushRestrictions (tests.Branch.Branch) ... ok
testRemoveRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testRemoveRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveRequiredStatusChecks (tests.Branch.Branch) ... ok
testAttributes (tests.BranchProtection.BranchProtection) ... ok
testAttributes (tests.Commit.Commit) ... ok
testCreateComment (tests.Commit.Commit) ... ok
testCreateCommentOnFileLine (tests.Commit.Commit) ... ok
testCreateCommentOnFilePosition (tests.Commit.Commit) ... ok
testCreateStatusWithAllParameters (tests.Commit.Commit) ... ok
testCreateStatusWithoutOptionalParameters (tests.Commit.Commit) ... ok
testGetComments (tests.Commit.Commit) ... ok
testAttributes (tests.CommitCombinedStatus.CommitCombinedStatus) ... ok
testAttributes (tests.CommitComment.CommitComment) ... ok
testCreateReaction (tests.CommitComment.CommitComment) ... ok
testDelete (tests.CommitComment.CommitComment) ... ok
testEdit (tests.CommitComment.CommitComment) ... ok
testGetReactions (tests.CommitComment.CommitComment) ... ok
testAttributes (tests.CommitStatus.CommitStatus) ... ok
testDidNotUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testDidUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testUpdateObjectWithoutEtag (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testAttributes (tests.ContentFile.ContentFile) ... ok
testAttributes (tests.Download.Download) ... ok
testDelete (tests.Download.Download) ... ok
testHttp (tests.Enterprise.Enterprise) ... ok
testHttps (tests.Enterprise.Enterprise) ... ok
testLongUrl (tests.Enterprise.Enterprise) ... ok
testSpecificPort (tests.Enterprise.Enterprise) ... ok
testUnknownUrlScheme (tests.Enterprise.Enterprise) ... ok
testBranchEquality (tests.Equality.Equality) ... ok
testUserDifference (tests.Equality.Equality) ... ok
testUserEquality (tests.Equality.Equality) ... ok
testAttributes (tests.Event.Event) ... ok
testBadAuthentication (tests.Exceptions.Exceptions) ... ok
testExceptionPickling (tests.Exceptions.Exceptions) ... ok
testInvalidInput (tests.Exceptions.Exceptions) ... ok
testNonJsonDataReturnedByGithub (tests.Exceptions.Exceptions) ... ok
testUnknownObject (tests.Exceptions.Exceptions) ... ok
testUnknownUser (tests.Exceptions.Exceptions) ... ok
testAllClasses (tests.ExposeAllAttributes.ExposeAllAttributes) ... ok
testAttributes (tests.Gist.Gist) ... ok
testCreateComment (tests.Gist.Gist) ... ok
testDelete (tests.Gist.Gist) ... ok
testDeleteFile (tests.Gist.Gist) ... ok
testEditWithAllParameters (tests.Gist.Gist) ... ok
testEditWithoutParameters (tests.Gist.Gist) ... ok
testFork (tests.Gist.Gist) ... ok
testGetComments (tests.Gist.Gist) ... ok
testRenameFile (tests.Gist.Gist) ... ok
testStarring (tests.Gist.Gist) ... ok
testAttributes (tests.GistComment.GistComment) ... ok
testDelete (tests.GistComment.GistComment) ... ok
testEdit (tests.GistComment.GistComment) ... ok
testAttributes (tests.GitBlob.GitBlob) ... ok
testAttributes (tests.GitCommit.GitCommit) ... ok
testAttributes (tests.GitRef.GitRef) ... ok
testDelete (tests.GitRef.GitRef) ... ok
testEdit (tests.GitRef.GitRef) ... ok
testEditWithForce (tests.GitRef.GitRef) ... ok
testAttributes (tests.GitTag.GitTag) ... ok
testAttributes (tests.GitTree.GitTree) ... ok
testGetEmojis (tests.Github_.Github) ... ok
testGetGists (tests.Github_.Github) ... ok
testGetGistsWithSince (tests.Github_.Github) ... ok
testGetGitignoreTemplate (tests.Github_.Github) ... ok
testGetGitignoreTemplates (tests.Github_.Github) ... ok
testGetHook (tests.Github_.Github) ... ok
testGetHooks (tests.Github_.Github) ... ok
testGetLicense (tests.Github_.Github) ... ok
testGetLicenses (tests.Github_.Github) ... ok
testGetOrganizations (tests.Github_.Github) ... ok
testGetOrganizationsSince (tests.Github_.Github) ... ok
testGetRepoFromFullName (tests.Github_.Github) ... ok
testGetRepoFromId (tests.Github_.Github) ... ok
testGetRepos (tests.Github_.Github) ... ok
testGetReposSince (tests.Github_.Github) ... ok
testGetUsers (tests.Github_.Github) ... ok
testGetUsersSince (tests.Github_.Github) ... ok
testStringOfNotSet (tests.Github_.Github) ... ok
testCreateJWT (tests.GithubIntegration.GithubIntegration) ... ok
testGetAccessToken (tests.GithubIntegration.GithubIntegration) ... ok
testAttributes (tests.Hook.Hook) ... ok
testDelete (tests.Hook.Hook) ... ok
testEditWithAllParameters (tests.Hook.Hook) ... ok
testEditWithMinimalParameters (tests.Hook.Hook) ... ok
testPing (tests.Hook.Hook) ... ok
testTest (tests.Hook.Hook) ... ok
testAddAndRemoveAssignees (tests.Issue.Issue) ... ok
testAddAndRemoveLabels (tests.Issue.Issue) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.Issue.Issue) ... ok
testAttributes (tests.Issue.Issue) ... ok
testCreateComment (tests.Issue.Issue) ... ok
testCreateReaction (tests.Issue.Issue) ... ok
testDeleteAndSetLabels (tests.Issue.Issue) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.Issue.Issue) ... ok
testEditResetAssignee (tests.Issue.Issue) ... ok
testEditResetMilestone (tests.Issue.Issue) ... ok
testEditWithAllParameters (tests.Issue.Issue) ... ok
testEditWithoutParameters (tests.Issue.Issue) ... ok
testGetComments (tests.Issue.Issue) ... ok
testGetCommentsSince (tests.Issue.Issue) ... ok
testGetEvents (tests.Issue.Issue) ... ok
testGetLabels (tests.Issue.Issue) ... ok
testGetReactions (tests.Issue.Issue) ... ok
testLock (tests.Issue.Issue) ... Exception in thread Thread-602:
Traceback (most recent call last):
  File "/opt/python/2.7.14/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/opt/python/2.7.14/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg/httpretty/core.py", line 781, in fill_filekind
    status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 214, in __request_callback
    self.__readNextRequest(self.__cnx.verb, self.__cnx.url, self.__cnx.input, self.__cnx.headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 191, in __readNextRequest
    self.__testCase.assertEqual(self.__splitUrl(url), self.__splitUrl(readLine(self.__file)))
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 742, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual
    self.fail(msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: [u'/repos/jacquev6/PyGithub/is... != ['/repos/FFY00/PyGithub/issues...

First differing element 0:
u'/repos/jacquev6/PyGithub/issues/28/lock'
'/repos/FFY00/PyGithub/issues/1/lock'

- [u'/repos/jacquev6/PyGithub/issues/28/lock']
?  -        ^^^^^^^^                 ^^

+ ['/repos/FFY00/PyGithub/issues/1/lock']
?          ^^^^^                 ^


ERROR
ERROR
testUnlock (tests.Issue.Issue) ... Exception in thread Thread-606:
Traceback (most recent call last):
  File "/opt/python/2.7.14/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/opt/python/2.7.14/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg/httpretty/core.py", line 781, in fill_filekind
    status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 214, in __request_callback
    self.__readNextRequest(self.__cnx.verb, self.__cnx.url, self.__cnx.input, self.__cnx.headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 191, in __readNextRequest
    self.__testCase.assertEqual(self.__splitUrl(url), self.__splitUrl(readLine(self.__file)))
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 742, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual
    self.fail(msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: [u'/repos/jacquev6/PyGithub/is... != ['/repos/FFY00/PyGithub/issues...

First differing element 0:
u'/repos/jacquev6/PyGithub/issues/28/lock'
'/repos/FFY00/PyGithub/issues/1/lock'

- [u'/repos/jacquev6/PyGithub/issues/28/lock']
?  -        ^^^^^^^^                 ^^

+ ['/repos/FFY00/PyGithub/issues/1/lock']
?          ^^^^^                 ^


ERROR
ERROR
testGetPullWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPullsWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPageWithoutInitialArguments (tests.Issue133.Issue133) ... ok
testGetAuthorizationsFailsWhenAutenticatedThroughOAuth (tests.Issue134.Issue134) ... ok
testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword (tests.Issue134.Issue134) ... ok
testGetOAuthScopesFromHeader (tests.Issue134.Issue134) ... ok
testCompletion (tests.Issue139.Issue139) ... ok
testGetDirContentsThenLazyCompletionOfFile (tests.Issue140.Issue140) ... ok
testGetDirContentsWithRef (tests.Issue140.Issue140) ... ok
testGetFileContents (tests.Issue140.Issue140) ... ok
testDecodeJson (tests.Issue142.Issue142) ... ok
testPaginationWithSecretKeyAuthentication (tests.Issue158.Issue158) ... ok
testGetDirContentsWhithHttpRedirect (tests.Issue174.Issue174) ... ok
testAssignees (tests.Issue214.Issue214) ... ok
testCollaborators (tests.Issue214.Issue214) ... ok
testCreateIssue (tests.Issue214.Issue214) ... ok
testEditIssue (tests.Issue214.Issue214) ... ok
testGetIssues (tests.Issue214.Issue214) ... ok
testIteration (tests.Issue216.Issue216) ... ok
testIteration (tests.Issue278.Issue278) ... ok
testClosedIssues (tests.Issue33.Issue33) ... ok
testOpenIssues (tests.Issue33.Issue33) ... ok
testRepr (tests.Issue494.Issue494) ... ok
testAddLabelToIssue (tests.Issue50.Issue50) ... ok
testCreateIssueWithLabel (tests.Issue50.Issue50) ... ok
testCreateLabel (tests.Issue50.Issue50) ... ok
testGetIssuesWithLabel (tests.Issue50.Issue50) ... ok
testGetLabel (tests.Issue50.Issue50) ... ok
testGetLabels (tests.Issue50.Issue50) ... ok
testIssueGetLabels (tests.Issue50.Issue50) ... ok
testIssueLabels (tests.Issue50.Issue50) ... ok
testRemoveLabelFromIssue (tests.Issue50.Issue50) ... ok
testSetIssueLabels (tests.Issue50.Issue50) ... ok
testConversion (tests.Issue54.Issue54) ... ok
testIssueAsPullRequest (tests.Issue572.Issue572) ... ok
testPullReqeustAsIssue (tests.Issue572.Issue572) ... ok
testIgnoreHttpsFromGithubEnterprise (tests.Issue80.Issue80) ... ok
testIgnoreHttpsFromGithubEnterpriseWithPort (tests.Issue80.Issue80) ... ok
testCreateIssueWithEscapedPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithEscapedPercentInTitle (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInTitle (tests.Issue87.Issue87) ... ok
testCollaboratorsAffiliation (tests.Issue937.Issue937) ... ok
testReservedPaginatedListAttributePreservation (tests.Issue945.Issue945) ... ok
testAttributes (tests.IssueComment.IssueComment) ... ok
testCreateReaction (tests.IssueComment.IssueComment) ... ok
testDelete (tests.IssueComment.IssueComment) ... ok
testEdit (tests.IssueComment.IssueComment) ... ok
testGetReactions (tests.IssueComment.IssueComment) ... ok
testEvent_added_to_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_assigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_base_ref_changed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_closed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_converted_note_to_issue_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_demilestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_deleted_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_restored_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_labeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_locked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_marked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_mentioned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_merged_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_milestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_moved_columns_in_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_referenced_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_removed_from_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_renamed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_reopened_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_dismissed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_request_removed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_requested_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_subscribed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unassigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlabeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlocked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unmarked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testAttributes (tests.Label.Label) ... ok
testDelete (tests.Label.Label) ... ok
testEdit (tests.Label.Label) ... ok
testGetIssues (tests.Repository.LazyRepository) ... ok
testOwner (tests.Repository.LazyRepository) ... ok
testAttributes (tests.License.License) ... ok
testLoggingWithBaseUrl (tests.Logging_.Logging) ... ok
testLoggingWithBasicAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithOAuthAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithoutAuthentication (tests.Logging_.Logging) ... ok
testRenderGithubFlavoredMarkdown (tests.Markdown.Markdown) ... ok
testRenderMarkdown (tests.Markdown.Markdown) ... ok
testAttributes (tests.Migration.Migration) ... ok
testDelete (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenDeleted (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenExported (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenNotExported (tests.Migration.Migration) ... ok
testGetStatus (tests.Migration.Migration) ... ok
testUnlockRepo (tests.Migration.Migration) ... ok
testAttributes (tests.Milestone.Milestone) ... ok
testDelete (tests.Milestone.Milestone) ... ok
testEditWithAllParameters (tests.Milestone.Milestone) ... ok
testEditWithMinimalParameters (tests.Milestone.Milestone) ... ok
testGetLabels (tests.Milestone.Milestone) ... ok
testAttributesOfOtherUser (tests.NamedUser.NamedUser) ... ok
testAttributesOfSelf (tests.NamedUser.NamedUser) ... ok
testGetEvents (tests.NamedUser.NamedUser) ... ok
testGetFollowers (tests.NamedUser.NamedUser) ... ok
testGetFollowing (tests.NamedUser.NamedUser) ... ok
testGetGists (tests.NamedUser.NamedUser) ... ok
testGetKeys (tests.NamedUser.NamedUser) ... ok
testGetOrgs (tests.NamedUser.NamedUser) ... ok
testGetPublicEvents (tests.NamedUser.NamedUser) ... ok
testGetPublicReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetRepo (tests.NamedUser.NamedUser) ... ok
testGetRepos (tests.NamedUser.NamedUser) ... ok
testGetReposWithType (tests.NamedUser.NamedUser) ... ok
testGetStarred (tests.NamedUser.NamedUser) ... ok
testGetSubscriptions (tests.NamedUser.NamedUser) ... ok
testGetWatched (tests.NamedUser.NamedUser) ... ok
testHasInFollowing (tests.NamedUser.NamedUser) ... ok
testUserEquality (tests.NamedUser.NamedUser) ... ok
testMarkAsRead (tests.Notification.Notification) ... ok
testAddMembersAdminRole (tests.Organization.Organization) ... ok
testAddMembersDefaultRole (tests.Organization.Organization) ... ok
testAttributes (tests.Organization.Organization) ... ok
testCreateFork (tests.Organization.Organization) ... ok
testCreateHookWithAllParameters (tests.Organization.Organization) ... ok
testCreateHookWithMinimalParameters (tests.Organization.Organization) ... ok
testCreateMigration (tests.Organization.Organization) ... ok
testCreateRepoWithAllArguments (tests.Organization.Organization) ... ok
testCreateRepoWithMinimalArguments (tests.Organization.Organization) ... ok
testCreateRepositoryWithAutoInit (tests.Organization.Organization) ... ok
testCreateTeam (tests.Organization.Organization) ... ok
testCreateTeamWithAllArguments (tests.Organization.Organization) ... ok
testDeleteHook (tests.Organization.Organization) ... ok
testEditHookWithAllParameters (tests.Organization.Organization) ... ok
testEditHookWithMinimalParameters (tests.Organization.Organization) ... ok
testEditWithAllArguments (tests.Organization.Organization) ... ok
testEditWithoutArguments (tests.Organization.Organization) ... ok
testGetEvents (tests.Organization.Organization) ... ok
testGetHooks (tests.Organization.Organization) ... ok
testGetIssues (tests.Organization.Organization) ... ok
testGetIssuesWithAllArguments (tests.Organization.Organization) ... ok
testGetMembers (tests.Organization.Organization) ... ok
testGetMigrations (tests.Organization.Organization) ... ok
testGetOutsideCollaborators (tests.Organization.Organization) ... ok
testGetPublicMembers (tests.Organization.Organization) ... ok
testGetRepos (tests.Organization.Organization) ... ok
testGetReposWithType (tests.Organization.Organization) ... ok
testGetTeams (tests.Organization.Organization) ... ok
testInviteUserAsNonOwner (tests.Organization.Organization) ... ok
testInviteUserByEmail (tests.Organization.Organization) ... ok
testInviteUserByName (tests.Organization.Organization) ... ok
testInviteUserWithBoth (tests.Organization.Organization) ... ok
testInviteUserWithNeither (tests.Organization.Organization) ... ok
testInviteUserWithRoleAndTeam (tests.Organization.Organization) ... ok
testMembers (tests.Organization.Organization) ... ok
testOutsideCollaborators (tests.Organization.Organization) ... ok
testPublicMembers (tests.Organization.Organization) ... ok
testHasInMembers (tests.OrganizationHasInMembers.OrganizationHasInMembers) ... ok
testCustomPerPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithGetPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams2 (tests.PaginatedList.PaginatedList) ... ok
testGetFirstPage (tests.PaginatedList.PaginatedList) ... ok
testGetThirdPage (tests.PaginatedList.PaginatedList) ... ok
testGettingTheReversedListDoesNotModifyTheOriginalList (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingAfterIteration (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInThirdPage (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIteration (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIterationInSlice (tests.PaginatedList.PaginatedList) ... ok
testIteration (tests.PaginatedList.PaginatedList) ... ok
testNoFirstPage (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationSupportsIterator (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithMultiplePages (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithSinglePage (tests.PaginatedList.PaginatedList) ... ok
testSeveralIterations (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilEnd (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilFourthPage (tests.PaginatedList.PaginatedList) ... ok
testLoad (tests.Persistence.Persistence) ... ok
testLoadAndUpdate (tests.Persistence.Persistence) ... ok
testCreateCardFromIssue (tests.Project.Project) ... ok
testCreateCardWithNote (tests.Project.Project) ... ok
testCreateColumn (tests.Project.Project) ... ok
testGetAllProjectCards (tests.Project.Project) ... ok
testGetOrganizationProjects (tests.Project.Project) ... ok
testGetProject (tests.Project.Project) ... ok
testGetProjectCardContent (tests.Project.Project) ... ok
testGetRepositoryProjects (tests.Project.Project) ... ok
testProjectAttributes (tests.Project.Project) ... ok
testProjectCardAttributes (tests.Project.Project) ... ok
testProjectColumnAttributes (tests.Project.Project) ... ok
testAddAndRemoveLabels (tests.PullRequest.PullRequest) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequest.PullRequest) ... ok
testAttributesIssue256 (tests.PullRequest.PullRequest) ... ok
testCreateComment (tests.PullRequest.PullRequest) ... ok
testCreateIssueComment (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabels (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testEditWithAllArguments (tests.PullRequest.PullRequest) ... ok
testEditWithoutArguments (tests.PullRequest.PullRequest) ... ok
testGetComments (tests.PullRequest.PullRequest) ... ok
testGetCommits (tests.PullRequest.PullRequest) ... ok
testGetFiles (tests.PullRequest.PullRequest) ... ok
testGetIssueComment (tests.PullRequest.PullRequest) ... ok
testGetIssueComments (tests.PullRequest.PullRequest) ... ok
testGetLabels (tests.PullRequest.PullRequest) ... ok
testGetReviewComments (tests.PullRequest.PullRequest) ... ok
testMerge (tests.PullRequest.PullRequest) ... ok
testMergeWithCommitMessage (tests.PullRequest.PullRequest) ... ok
testReviewRequests (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequestComment.PullRequestComment) ... ok
testCreateReaction (tests.PullRequestComment.PullRequestComment) ... ok
testDelete (tests.PullRequestComment.PullRequestComment) ... ok
testEdit (tests.PullRequestComment.PullRequestComment) ... ok
testGetReactions (tests.PullRequestComment.PullRequestComment) ... ok
testAttributes (tests.PullRequestFile.PullRequestFile) ... ok
testAttributes (tests.PullRequestReview.PullRequestReview) ... ok
testDismiss (tests.PullRequestReview.PullRequestReview) ... ok
testGetRateLimit (tests.RateLimiting.RateLimiting) ... ok
testRateLimiting (tests.RateLimiting.RateLimiting) ... ok
testResetTime (tests.RateLimiting.RateLimiting) ... ok
testCompletedObject (tests.RawData.RawData) ... ok
testCreateObjectFromRawData (tests.RawData.RawData) ... ok
testNonCompletableObject (tests.RawData.RawData) ... ok
testNotYetCompletedObject (tests.RawData.RawData) ... ok
testAttributes (tests.Reaction.Reaction) ... ok
testDelete (tests.Reaction.Reaction) ... ok
testAttributes (tests.GitRelease.Release) ... ok
testCreateGitTagAndRelease (tests.GitRelease.Release) ... ok
testDelete (tests.GitRelease.Release) ... ok
testGetAsset (tests.GitRelease.Release) ... ok
testGetAssets (tests.GitRelease.Release) ... ok
testGetLatestRelease (tests.GitRelease.Release) ... ok
testGetRelease (tests.GitRelease.Release) ... ok
testUpdate (tests.GitRelease.Release) ... ok
testUploadAsset (tests.GitRelease.Release) ... ok
testAttributes (tests.GitReleaseAsset.ReleaseAsset) ... ok
testDelete (tests.GitReleaseAsset.ReleaseAsset) ... ok
testUpdate (tests.GitReleaseAsset.ReleaseAsset) ... ok
testAttributes (tests.RepositoryKey.RepositoryKey) ... ok
testDelete (tests.RepositoryKey.RepositoryKey) ... ok
testAttributes (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testOrganizationOwnedTeam (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testAttributes (tests.RequiredStatusChecks.RequiredStatusChecks) ... ok
testRaisesRetryErrorAfterMaxRetries (tests.Retry.Retry) ... ok
testReturnsRepoAfter1Retry (tests.Retry.Retry) ... ok
testReturnsRepoAfter3Retries (tests.Retry.Retry) ... ok
testShouldNotRetryWhenStatusNotOnList (tests.Retry.Retry) ... ok
testGetPageOnSearchUsers (tests.Search.Search) ... ok
testPaginateSearchCommits (tests.Search.Search) ... ok
testPaginateSearchTopics (tests.Search.Search) ... ok
testPaginateSearchUsers (tests.Search.Search) ... ok
testSearchCode (tests.Search.Search) ... ok
testSearchHighlightingCode (tests.Search.Search) ... ok
testSearchIssues (tests.Search.Search) ... ok
testSearchRepos (tests.Search.Search) ... ok
testSearchReposWithNoResults (tests.Search.Search) ... ok
testSearchTopics (tests.Search.Search) ... ok
testSearchUsers (tests.Search.Search) ... ok
testUrlquotingOfQualifiers (tests.Search.Search) ... ok
testUrlquotingOfQuery (tests.Search.Search) ... ok
testAttributes (tests.SourceImport.SourceImport) ... ok
testAuthenticatedRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testBadCredentials (tests.Exceptions.SpecificExceptions) ... ok
testBadUserAgent (tests.Exceptions.SpecificExceptions) ... ok
testRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testUnknownObject (tests.Exceptions.SpecificExceptions) ... ok
testAttributes (tests.Tag.Tag) ... ok
testAttributes (tests.Team.Team) ... ok
testDelete (tests.Team.Team) ... ok
testEditWithAllArguments (tests.Team.Team) ... ok
testEditWithoutArguments (tests.Team.Team) ... ok
testMembers (tests.Team.Team) ... ok
testRepoPermission (tests.Team.Team) ... ok
testRepos (tests.Team.Team) ... ok
testGetClones (tests.Traffic.Traffic) ... ok
testGetPaths (tests.Traffic.Traffic) ... ok
testGetReferrers (tests.Traffic.Traffic) ... ok
testGetViews (tests.Traffic.Traffic) ... ok
testAttributes (tests.UserKey.UserKey) ... ok
testDelete (tests.UserKey.UserKey) ... ok

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 97, in testLock
    self.issue.lock("resolved")
  File "/home/travis/build/PyGithub/PyGithub/github/Issue.py", line 374, in lock
    headers={'Accept': Consts.mediaTypeLockReasonPreview}
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 412, in __requestRaw
    response = cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 235, in getresponse
    response = self.__cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 114, in getresponse
    r = verb(url, headers=self.headers, data=self.input, timeout=self.timeout, verify=self.verify, allow_redirects=False)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 593, in put
    return self.request('PUT', url, data=data, **kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', BadStatusLine("''",))

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
AssertionError: "{'Content-Type': 'application/json', 'Accept': 'application/vnd.github.sailor-v-preview+json', 'Authorization': 'Bearer jwt_removed', 'User-Agent': 'PyGithub/Python'}" != ''

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 100, in testUnlock
    self.issue.unlock()
  File "/home/travis/build/PyGithub/PyGithub/github/Issue.py", line 384, in unlock
    self.url + "/lock"
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 412, in __requestRaw
    response = cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 235, in getresponse
    response = self.__cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 114, in getresponse
    r = verb(url, headers=self.headers, data=self.input, timeout=self.timeout, verify=self.verify, allow_redirects=False)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 615, in delete
    return self.request('DELETE', url, **kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', BadStatusLine("''",))

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
AssertionError: "{'Authorization': 'Bearer jwt_removed', 'User-Agent': 'PyGithub/Python'}" != ''

----------------------------------------------------------------------
Ran 463 tests in 22.226s

FAILED (errors=4)
Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>
Coverage.py warning: Module github/tests was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)
error: Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>
The command "coverage run --source github/tests setup.py test" exited with 1.



Done. Your build exited with 1.
coverage run --source github/tests setup.py test
running test
Searching for pyjwt
Reading https://pypi.python.org/simple/pyjwt/
Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl#sha256=5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e
Best match: PyJWT 1.7.1
Processing PyJWT-1.7.1-py2.py3-none-any.whl
Installing PyJWT-1.7.1-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py2.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py2.7.egg
Searching for deprecated
Reading https://pypi.python.org/simple/deprecated/
Downloading https://files.pythonhosted.org/packages/9f/7a/003fa432f1e45625626549726c2fbb7a29baa764e9d1fdb2323a5d779f8a/Deprecated-1.2.5-py2.py3-none-any.whl#sha256=749f6cdcfbdc3f79258f8154bad43fced95adc632c337675d0385959895894bc
Best match: Deprecated 1.2.5
Processing Deprecated-1.2.5-py2.py3-none-any.whl
Installing Deprecated-1.2.5-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py2.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py2.7.egg
Searching for wrapt<2,>=1
Reading https://pypi.python.org/simple/wrapt/
Downloading https://files.pythonhosted.org/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz#sha256=4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533
Best match: wrapt 1.11.1
Processing wrapt-1.11.1.tar.gz
Writing /tmp/easy_install-UWqGsh/wrapt-1.11.1/setup.cfg
Running wrapt-1.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-UWqGsh/wrapt-1.11.1/egg-dist-tmp-1p149Z
zip_safe flag not set; analyzing archive contents...
Moving wrapt-1.11.1-py2.7-linux-x86_64.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/wrapt-1.11.1-py2.7-linux-x86_64.egg
Searching for httpretty==0.9.6
Reading https://pypi.python.org/simple/httpretty/
Downloading https://files.pythonhosted.org/packages/6e/84/c779ebe4411195716588b413dd594373144c411762c158b579cf36b37168/httpretty-0.9.6.tar.gz#sha256=01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc
Best match: httpretty 0.9.6
Processing httpretty-0.9.6.tar.gz
Writing /tmp/easy_install-vS5NRT/httpretty-0.9.6/setup.cfg
Running httpretty-0.9.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vS5NRT/httpretty-0.9.6/egg-dist-tmp-cSurwT
creating /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg
Extracting httpretty-0.9.6-py2.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg
Searching for cryptography
Reading https://pypi.python.org/simple/cryptography/
Downloading https://files.pythonhosted.org/packages/c3/c1/cf8665c955c9393e9ff0872ba6cd3dc6f46ef915e94afcf6e0410508ca69/cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl#sha256=2db34e5c45988f36f7a08a7ab2b69638994a8923853dec2d4af121f689c66dc8
Best match: cryptography 2.6.1
Processing cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl
Installing cryptography-2.6.1-cp27-cp27mu-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py2.7-linux-x86_64.egg
Searching for ipaddress
Reading https://pypi.python.org/simple/ipaddress/
Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl#sha256=64b28eec5e78e7510698f6d4da08800a5c575caa4a286c93d651c5d3ff7b6794
Best match: ipaddress 1.0.22
Processing ipaddress-1.0.22-py2.py3-none-any.whl
Installing ipaddress-1.0.22-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/ipaddress-1.0.22-py2.7.egg
Searching for enum34
Reading https://pypi.python.org/simple/enum34/
Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl#sha256=6bd0f6ad48ec2aa117d3d141940d484deccda84d4fcd884f5c3d93c23ecd8c79
Best match: enum34 1.1.6
Processing enum34-1.1.6-py2-none-any.whl
Installing enum34-1.1.6-py2-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/enum34-1.1.6-py2.7.egg
Searching for cffi!=1.11.3,>=1.8
Reading https://pypi.python.org/simple/cffi/
Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl#sha256=2444d0c61f03dcd26dbf7600cf64354376ee579acad77aef459e34efcb438c63
Best match: cffi 1.12.3
Processing cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl
Installing cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py2.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py2.7-linux-x86_64.egg
Searching for asn1crypto>=0.21.0
Reading https://pypi.python.org/simple/asn1crypto/
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl#sha256=2f1adbb7546ed199e3c90ef23ec95c5cf3585bac7d11fb7eb562a3fe89c64e87
Best match: asn1crypto 0.24.0
Processing asn1crypto-0.24.0-py2.py3-none-any.whl
Installing asn1crypto-0.24.0-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/asn1crypto-0.24.0-py2.7.egg
Searching for pycparser
Reading https://pypi.python.org/simple/pycparser/
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz#sha256=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
Best match: pycparser 2.19
Processing pycparser-2.19.tar.gz
Writing /tmp/easy_install-lppqkk/pycparser-2.19/setup.cfg
Running pycparser-2.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lppqkk/pycparser-2.19/egg-dist-tmp-yfC541
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.lex: module references __file__
pycparser.ply.lex: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module references __file__
pycparser.ply.yacc: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module MAY be using inspect.stack
pycparser.ply.ygen: module references __file__
creating /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py2.7.egg
Extracting pycparser-2.19-py2.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py2.7.egg
running egg_info
creating PyGithub.egg-info
writing requirements to PyGithub.egg-info/requires.txt
writing PyGithub.egg-info/PKG-INFO
writing top-level names to PyGithub.egg-info/top_level.txt
writing dependency_links to PyGithub.egg-info/dependency_links.txt
writing manifest file 'PyGithub.egg-info/SOURCES.txt'
reading manifest file 'PyGithub.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PyGithub.egg-info/SOURCES.txt'
running build_ext
testAcceptInvitation (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAttributes (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithClientIdAndSecret (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateFork (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGist (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGistWithoutDescription (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateKey (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateMigration (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepository (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAutoInit (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEmails (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testFollowing (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetAuthorizations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetKeys (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetMigrations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotification (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotifications (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotificationsWithOtherArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrganizationEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrgs (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetRepos (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetReposWithArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetStarredGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetTeams (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testMarkNotificationsAsRead (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testStarring (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testSubscriptions (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testWatching (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAuthorizationHeaderWithLogin (tests.Authentication.Authentication) ... ok
testAuthorizationHeaderWithToken (tests.Authentication.Authentication) ... ok
testBasicAuthentication (tests.Authentication.Authentication) ... ok
testJWTAuthentication (tests.Authentication.Authentication) ... ok
testNoAuthentication (tests.Authentication.Authentication) ... ok
testOAuthAuthentication (tests.Authentication.Authentication) ... ok
testSecretKeyAuthentication (tests.Authentication.Authentication) ... ok
testUserAgent (tests.Authentication.Authentication) ... ok
testAttributes (tests.Authorization.Authorization) ... ok
testDelete (tests.Authorization.Authorization) ... ok
testEdit (tests.Authorization.Authorization) ... ok
testBadAttributeInClassAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadAttributeTransformation (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInDict (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testIssue195 (tests.BadAttributes.BadAttributes) ... ok
testAddRequiredSignatures (tests.Branch.Branch) ... ok
testAdminEnforcement (tests.Branch.Branch) ... ok
testAttributes (tests.Branch.Branch) ... ok
testEditProtection (tests.Branch.Branch) ... ok
testEditProtectionDismissalUsersWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsAndDismissalUser (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers (tests.Branch.Branch) ... ok
testEditRequiredStatusChecks (tests.Branch.Branch) ... ok
testEditTeamPushRestrictions (tests.Branch.Branch) ... ok
testEditUserPushRestrictions (tests.Branch.Branch) ... ok
testGetRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveProtection (tests.Branch.Branch) ... ok
testRemovePushRestrictions (tests.Branch.Branch) ... ok
testRemoveRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testRemoveRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveRequiredStatusChecks (tests.Branch.Branch) ... ok
testAttributes (tests.BranchProtection.BranchProtection) ... ok
testAttributes (tests.Commit.Commit) ... ok
testCreateComment (tests.Commit.Commit) ... ok
testCreateCommentOnFileLine (tests.Commit.Commit) ... ok
testCreateCommentOnFilePosition (tests.Commit.Commit) ... ok
testCreateStatusWithAllParameters (tests.Commit.Commit) ... ok
testCreateStatusWithoutOptionalParameters (tests.Commit.Commit) ... ok
testGetComments (tests.Commit.Commit) ... ok
testAttributes (tests.CommitCombinedStatus.CommitCombinedStatus) ... ok
testAttributes (tests.CommitComment.CommitComment) ... ok
testCreateReaction (tests.CommitComment.CommitComment) ... ok
testDelete (tests.CommitComment.CommitComment) ... ok
testEdit (tests.CommitComment.CommitComment) ... ok
testGetReactions (tests.CommitComment.CommitComment) ... ok
testAttributes (tests.CommitStatus.CommitStatus) ... ok
testDidNotUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testDidUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testUpdateObjectWithoutEtag (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testAttributes (tests.ContentFile.ContentFile) ... ok
testAttributes (tests.Download.Download) ... ok
testDelete (tests.Download.Download) ... ok
testHttp (tests.Enterprise.Enterprise) ... ok
testHttps (tests.Enterprise.Enterprise) ... ok
testLongUrl (tests.Enterprise.Enterprise) ... ok
testSpecificPort (tests.Enterprise.Enterprise) ... ok
testUnknownUrlScheme (tests.Enterprise.Enterprise) ... ok
testBranchEquality (tests.Equality.Equality) ... ok
testUserDifference (tests.Equality.Equality) ... ok
testUserEquality (tests.Equality.Equality) ... ok
testAttributes (tests.Event.Event) ... ok
testBadAuthentication (tests.Exceptions.Exceptions) ... ok
testExceptionPickling (tests.Exceptions.Exceptions) ... ok
testInvalidInput (tests.Exceptions.Exceptions) ... ok
testNonJsonDataReturnedByGithub (tests.Exceptions.Exceptions) ... ok
testUnknownObject (tests.Exceptions.Exceptions) ... ok
testUnknownUser (tests.Exceptions.Exceptions) ... ok
testAllClasses (tests.ExposeAllAttributes.ExposeAllAttributes) ... ok
testAttributes (tests.Gist.Gist) ... ok
testCreateComment (tests.Gist.Gist) ... ok
testDelete (tests.Gist.Gist) ... ok
testDeleteFile (tests.Gist.Gist) ... ok
testEditWithAllParameters (tests.Gist.Gist) ... ok
testEditWithoutParameters (tests.Gist.Gist) ... ok
testFork (tests.Gist.Gist) ... ok
testGetComments (tests.Gist.Gist) ... ok
testRenameFile (tests.Gist.Gist) ... ok
testStarring (tests.Gist.Gist) ... ok
testAttributes (tests.GistComment.GistComment) ... ok
testDelete (tests.GistComment.GistComment) ... ok
testEdit (tests.GistComment.GistComment) ... ok
testAttributes (tests.GitBlob.GitBlob) ... ok
testAttributes (tests.GitCommit.GitCommit) ... ok
testAttributes (tests.GitRef.GitRef) ... ok
testDelete (tests.GitRef.GitRef) ... ok
testEdit (tests.GitRef.GitRef) ... ok
testEditWithForce (tests.GitRef.GitRef) ... ok
testAttributes (tests.GitTag.GitTag) ... ok
testAttributes (tests.GitTree.GitTree) ... ok
testGetEmojis (tests.Github_.Github) ... ok
testGetGists (tests.Github_.Github) ... ok
testGetGistsWithSince (tests.Github_.Github) ... ok
testGetGitignoreTemplate (tests.Github_.Github) ... ok
testGetGitignoreTemplates (tests.Github_.Github) ... ok
testGetHook (tests.Github_.Github) ... ok
testGetHooks (tests.Github_.Github) ... ok
testGetLicense (tests.Github_.Github) ... ok
testGetLicenses (tests.Github_.Github) ... ok
testGetOrganizations (tests.Github_.Github) ... ok
testGetOrganizationsSince (tests.Github_.Github) ... ok
testGetRepoFromFullName (tests.Github_.Github) ... ok
testGetRepoFromId (tests.Github_.Github) ... ok
testGetRepos (tests.Github_.Github) ... ok
testGetReposSince (tests.Github_.Github) ... ok
testGetUsers (tests.Github_.Github) ... ok
testGetUsersSince (tests.Github_.Github) ... ok
testStringOfNotSet (tests.Github_.Github) ... ok
testCreateJWT (tests.GithubIntegration.GithubIntegration) ... ok
testGetAccessToken (tests.GithubIntegration.GithubIntegration) ... ok
testAttributes (tests.Hook.Hook) ... ok
testDelete (tests.Hook.Hook) ... ok
testEditWithAllParameters (tests.Hook.Hook) ... ok
testEditWithMinimalParameters (tests.Hook.Hook) ... ok
testPing (tests.Hook.Hook) ... ok
testTest (tests.Hook.Hook) ... ok
testAddAndRemoveAssignees (tests.Issue.Issue) ... ok
testAddAndRemoveLabels (tests.Issue.Issue) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.Issue.Issue) ... ok
testAttributes (tests.Issue.Issue) ... ok
testCreateComment (tests.Issue.Issue) ... ok
testCreateReaction (tests.Issue.Issue) ... ok
testDeleteAndSetLabels (tests.Issue.Issue) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.Issue.Issue) ... ok
testEditResetAssignee (tests.Issue.Issue) ... ok
testEditResetMilestone (tests.Issue.Issue) ... ok
testEditWithAllParameters (tests.Issue.Issue) ... ok
testEditWithoutParameters (tests.Issue.Issue) ... ok
testGetComments (tests.Issue.Issue) ... ok
testGetCommentsSince (tests.Issue.Issue) ... ok
testGetEvents (tests.Issue.Issue) ... ok
testGetLabels (tests.Issue.Issue) ... ok
testGetReactions (tests.Issue.Issue) ... ok
testLock (tests.Issue.Issue) ... Exception in thread Thread-602:
Traceback (most recent call last):
  File "/opt/python/2.7.14/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/opt/python/2.7.14/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg/httpretty/core.py", line 781, in fill_filekind
    status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 214, in __request_callback
    self.__readNextRequest(self.__cnx.verb, self.__cnx.url, self.__cnx.input, self.__cnx.headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 191, in __readNextRequest
    self.__testCase.assertEqual(self.__splitUrl(url), self.__splitUrl(readLine(self.__file)))
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 742, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual
    self.fail(msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: [u'/repos/jacquev6/PyGithub/is... != ['/repos/FFY00/PyGithub/issues...

First differing element 0:
u'/repos/jacquev6/PyGithub/issues/28/lock'
'/repos/FFY00/PyGithub/issues/1/lock'

- [u'/repos/jacquev6/PyGithub/issues/28/lock']
?  -        ^^^^^^^^                 ^^

+ ['/repos/FFY00/PyGithub/issues/1/lock']
?          ^^^^^                 ^


ERROR
ERROR
testUnlock (tests.Issue.Issue) ... Exception in thread Thread-606:
Traceback (most recent call last):
  File "/opt/python/2.7.14/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/opt/python/2.7.14/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py2.7.egg/httpretty/core.py", line 781, in fill_filekind
    status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 214, in __request_callback
    self.__readNextRequest(self.__cnx.verb, self.__cnx.url, self.__cnx.input, self.__cnx.headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 191, in __readNextRequest
    self.__testCase.assertEqual(self.__splitUrl(url), self.__splitUrl(readLine(self.__file)))
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 742, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual
    self.fail(msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: [u'/repos/jacquev6/PyGithub/is... != ['/repos/FFY00/PyGithub/issues...

First differing element 0:
u'/repos/jacquev6/PyGithub/issues/28/lock'
'/repos/FFY00/PyGithub/issues/1/lock'

- [u'/repos/jacquev6/PyGithub/issues/28/lock']
?  -        ^^^^^^^^                 ^^

+ ['/repos/FFY00/PyGithub/issues/1/lock']
?          ^^^^^                 ^


ERROR
ERROR
testGetPullWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPullsWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPageWithoutInitialArguments (tests.Issue133.Issue133) ... ok
testGetAuthorizationsFailsWhenAutenticatedThroughOAuth (tests.Issue134.Issue134) ... ok
testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword (tests.Issue134.Issue134) ... ok
testGetOAuthScopesFromHeader (tests.Issue134.Issue134) ... ok
testCompletion (tests.Issue139.Issue139) ... ok
testGetDirContentsThenLazyCompletionOfFile (tests.Issue140.Issue140) ... ok
testGetDirContentsWithRef (tests.Issue140.Issue140) ... ok
testGetFileContents (tests.Issue140.Issue140) ... ok
testDecodeJson (tests.Issue142.Issue142) ... ok
testPaginationWithSecretKeyAuthentication (tests.Issue158.Issue158) ... ok
testGetDirContentsWhithHttpRedirect (tests.Issue174.Issue174) ... ok
testAssignees (tests.Issue214.Issue214) ... ok
testCollaborators (tests.Issue214.Issue214) ... ok
testCreateIssue (tests.Issue214.Issue214) ... ok
testEditIssue (tests.Issue214.Issue214) ... ok
testGetIssues (tests.Issue214.Issue214) ... ok
testIteration (tests.Issue216.Issue216) ... ok
testIteration (tests.Issue278.Issue278) ... ok
testClosedIssues (tests.Issue33.Issue33) ... ok
testOpenIssues (tests.Issue33.Issue33) ... ok
testRepr (tests.Issue494.Issue494) ... ok
testAddLabelToIssue (tests.Issue50.Issue50) ... ok
testCreateIssueWithLabel (tests.Issue50.Issue50) ... ok
testCreateLabel (tests.Issue50.Issue50) ... ok
testGetIssuesWithLabel (tests.Issue50.Issue50) ... ok
testGetLabel (tests.Issue50.Issue50) ... ok
testGetLabels (tests.Issue50.Issue50) ... ok
testIssueGetLabels (tests.Issue50.Issue50) ... ok
testIssueLabels (tests.Issue50.Issue50) ... ok
testRemoveLabelFromIssue (tests.Issue50.Issue50) ... ok
testSetIssueLabels (tests.Issue50.Issue50) ... ok
testConversion (tests.Issue54.Issue54) ... ok
testIssueAsPullRequest (tests.Issue572.Issue572) ... ok
testPullReqeustAsIssue (tests.Issue572.Issue572) ... ok
testIgnoreHttpsFromGithubEnterprise (tests.Issue80.Issue80) ... ok
testIgnoreHttpsFromGithubEnterpriseWithPort (tests.Issue80.Issue80) ... ok
testCreateIssueWithEscapedPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithEscapedPercentInTitle (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInTitle (tests.Issue87.Issue87) ... ok
testCollaboratorsAffiliation (tests.Issue937.Issue937) ... ok
testReservedPaginatedListAttributePreservation (tests.Issue945.Issue945) ... ok
testAttributes (tests.IssueComment.IssueComment) ... ok
testCreateReaction (tests.IssueComment.IssueComment) ... ok
testDelete (tests.IssueComment.IssueComment) ... ok
testEdit (tests.IssueComment.IssueComment) ... ok
testGetReactions (tests.IssueComment.IssueComment) ... ok
testEvent_added_to_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_assigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_base_ref_changed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_closed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_converted_note_to_issue_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_demilestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_deleted_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_restored_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_labeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_locked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_marked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_mentioned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_merged_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_milestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_moved_columns_in_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_referenced_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_removed_from_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_renamed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_reopened_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_dismissed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_request_removed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_requested_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_subscribed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unassigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlabeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlocked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unmarked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testAttributes (tests.Label.Label) ... ok
testDelete (tests.Label.Label) ... ok
testEdit (tests.Label.Label) ... ok
testGetIssues (tests.Repository.LazyRepository) ... ok
testOwner (tests.Repository.LazyRepository) ... ok
testAttributes (tests.License.License) ... ok
testLoggingWithBaseUrl (tests.Logging_.Logging) ... ok
testLoggingWithBasicAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithOAuthAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithoutAuthentication (tests.Logging_.Logging) ... ok
testRenderGithubFlavoredMarkdown (tests.Markdown.Markdown) ... ok
testRenderMarkdown (tests.Markdown.Markdown) ... ok
testAttributes (tests.Migration.Migration) ... ok
testDelete (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenDeleted (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenExported (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenNotExported (tests.Migration.Migration) ... ok
testGetStatus (tests.Migration.Migration) ... ok
testUnlockRepo (tests.Migration.Migration) ... ok
testAttributes (tests.Milestone.Milestone) ... ok
testDelete (tests.Milestone.Milestone) ... ok
testEditWithAllParameters (tests.Milestone.Milestone) ... ok
testEditWithMinimalParameters (tests.Milestone.Milestone) ... ok
testGetLabels (tests.Milestone.Milestone) ... ok
testAttributesOfOtherUser (tests.NamedUser.NamedUser) ... ok
testAttributesOfSelf (tests.NamedUser.NamedUser) ... ok
testGetEvents (tests.NamedUser.NamedUser) ... ok
testGetFollowers (tests.NamedUser.NamedUser) ... ok
testGetFollowing (tests.NamedUser.NamedUser) ... ok
testGetGists (tests.NamedUser.NamedUser) ... ok
testGetKeys (tests.NamedUser.NamedUser) ... ok
testGetOrgs (tests.NamedUser.NamedUser) ... ok
testGetPublicEvents (tests.NamedUser.NamedUser) ... ok
testGetPublicReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetRepo (tests.NamedUser.NamedUser) ... ok
testGetRepos (tests.NamedUser.NamedUser) ... ok
testGetReposWithType (tests.NamedUser.NamedUser) ... ok
testGetStarred (tests.NamedUser.NamedUser) ... ok
testGetSubscriptions (tests.NamedUser.NamedUser) ... ok
testGetWatched (tests.NamedUser.NamedUser) ... ok
testHasInFollowing (tests.NamedUser.NamedUser) ... ok
testUserEquality (tests.NamedUser.NamedUser) ... ok
testMarkAsRead (tests.Notification.Notification) ... ok
testAddMembersAdminRole (tests.Organization.Organization) ... ok
testAddMembersDefaultRole (tests.Organization.Organization) ... ok
testAttributes (tests.Organization.Organization) ... ok
testCreateFork (tests.Organization.Organization) ... ok
testCreateHookWithAllParameters (tests.Organization.Organization) ... ok
testCreateHookWithMinimalParameters (tests.Organization.Organization) ... ok
testCreateMigration (tests.Organization.Organization) ... ok
testCreateRepoWithAllArguments (tests.Organization.Organization) ... ok
testCreateRepoWithMinimalArguments (tests.Organization.Organization) ... ok
testCreateRepositoryWithAutoInit (tests.Organization.Organization) ... ok
testCreateTeam (tests.Organization.Organization) ... ok
testCreateTeamWithAllArguments (tests.Organization.Organization) ... ok
testDeleteHook (tests.Organization.Organization) ... ok
testEditHookWithAllParameters (tests.Organization.Organization) ... ok
testEditHookWithMinimalParameters (tests.Organization.Organization) ... ok
testEditWithAllArguments (tests.Organization.Organization) ... ok
testEditWithoutArguments (tests.Organization.Organization) ... ok
testGetEvents (tests.Organization.Organization) ... ok
testGetHooks (tests.Organization.Organization) ... ok
testGetIssues (tests.Organization.Organization) ... ok
testGetIssuesWithAllArguments (tests.Organization.Organization) ... ok
testGetMembers (tests.Organization.Organization) ... ok
testGetMigrations (tests.Organization.Organization) ... ok
testGetOutsideCollaborators (tests.Organization.Organization) ... ok
testGetPublicMembers (tests.Organization.Organization) ... ok
testGetRepos (tests.Organization.Organization) ... ok
testGetReposWithType (tests.Organization.Organization) ... ok
testGetTeams (tests.Organization.Organization) ... ok
testInviteUserAsNonOwner (tests.Organization.Organization) ... ok
testInviteUserByEmail (tests.Organization.Organization) ... ok
testInviteUserByName (tests.Organization.Organization) ... ok
testInviteUserWithBoth (tests.Organization.Organization) ... ok
testInviteUserWithNeither (tests.Organization.Organization) ... ok
testInviteUserWithRoleAndTeam (tests.Organization.Organization) ... ok
testMembers (tests.Organization.Organization) ... ok
testOutsideCollaborators (tests.Organization.Organization) ... ok
testPublicMembers (tests.Organization.Organization) ... ok
testHasInMembers (tests.OrganizationHasInMembers.OrganizationHasInMembers) ... ok
testCustomPerPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithGetPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams2 (tests.PaginatedList.PaginatedList) ... ok
testGetFirstPage (tests.PaginatedList.PaginatedList) ... ok
testGetThirdPage (tests.PaginatedList.PaginatedList) ... ok
testGettingTheReversedListDoesNotModifyTheOriginalList (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingAfterIteration (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInThirdPage (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIteration (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIterationInSlice (tests.PaginatedList.PaginatedList) ... ok
testIteration (tests.PaginatedList.PaginatedList) ... ok
testNoFirstPage (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationSupportsIterator (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithMultiplePages (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithSinglePage (tests.PaginatedList.PaginatedList) ... ok
testSeveralIterations (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilEnd (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilFourthPage (tests.PaginatedList.PaginatedList) ... ok
testLoad (tests.Persistence.Persistence) ... ok
testLoadAndUpdate (tests.Persistence.Persistence) ... ok
testCreateCardFromIssue (tests.Project.Project) ... ok
testCreateCardWithNote (tests.Project.Project) ... ok
testCreateColumn (tests.Project.Project) ... ok
testGetAllProjectCards (tests.Project.Project) ... ok
testGetOrganizationProjects (tests.Project.Project) ... ok
testGetProject (tests.Project.Project) ... ok
testGetProjectCardContent (tests.Project.Project) ... ok
testGetRepositoryProjects (tests.Project.Project) ... ok
testProjectAttributes (tests.Project.Project) ... ok
testProjectCardAttributes (tests.Project.Project) ... ok
testProjectColumnAttributes (tests.Project.Project) ... ok
testAddAndRemoveLabels (tests.PullRequest.PullRequest) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequest.PullRequest) ... ok
testAttributesIssue256 (tests.PullRequest.PullRequest) ... ok
testCreateComment (tests.PullRequest.PullRequest) ... ok
testCreateIssueComment (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabels (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testEditWithAllArguments (tests.PullRequest.PullRequest) ... ok
testEditWithoutArguments (tests.PullRequest.PullRequest) ... ok
testGetComments (tests.PullRequest.PullRequest) ... ok
testGetCommits (tests.PullRequest.PullRequest) ... ok
testGetFiles (tests.PullRequest.PullRequest) ... ok
testGetIssueComment (tests.PullRequest.PullRequest) ... ok
testGetIssueComments (tests.PullRequest.PullRequest) ... ok
testGetLabels (tests.PullRequest.PullRequest) ... ok
testGetReviewComments (tests.PullRequest.PullRequest) ... ok
testMerge (tests.PullRequest.PullRequest) ... ok
testMergeWithCommitMessage (tests.PullRequest.PullRequest) ... ok
testReviewRequests (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequestComment.PullRequestComment) ... ok
testCreateReaction (tests.PullRequestComment.PullRequestComment) ... ok
testDelete (tests.PullRequestComment.PullRequestComment) ... ok
testEdit (tests.PullRequestComment.PullRequestComment) ... ok
testGetReactions (tests.PullRequestComment.PullRequestComment) ... ok
testAttributes (tests.PullRequestFile.PullRequestFile) ... ok
testAttributes (tests.PullRequestReview.PullRequestReview) ... ok
testDismiss (tests.PullRequestReview.PullRequestReview) ... ok
testGetRateLimit (tests.RateLimiting.RateLimiting) ... ok
testRateLimiting (tests.RateLimiting.RateLimiting) ... ok
testResetTime (tests.RateLimiting.RateLimiting) ... ok
testCompletedObject (tests.RawData.RawData) ... ok
testCreateObjectFromRawData (tests.RawData.RawData) ... ok
testNonCompletableObject (tests.RawData.RawData) ... ok
testNotYetCompletedObject (tests.RawData.RawData) ... ok
testAttributes (tests.Reaction.Reaction) ... ok
testDelete (tests.Reaction.Reaction) ... ok
testAttributes (tests.GitRelease.Release) ... ok
testCreateGitTagAndRelease (tests.GitRelease.Release) ... ok
testDelete (tests.GitRelease.Release) ... ok
testGetAsset (tests.GitRelease.Release) ... ok
testGetAssets (tests.GitRelease.Release) ... ok
testGetLatestRelease (tests.GitRelease.Release) ... ok
testGetRelease (tests.GitRelease.Release) ... ok
testUpdate (tests.GitRelease.Release) ... ok
testUploadAsset (tests.GitRelease.Release) ... ok
testAttributes (tests.GitReleaseAsset.ReleaseAsset) ... ok
testDelete (tests.GitReleaseAsset.ReleaseAsset) ... ok
testUpdate (tests.GitReleaseAsset.ReleaseAsset) ... ok
testAttributes (tests.RepositoryKey.RepositoryKey) ... ok
testDelete (tests.RepositoryKey.RepositoryKey) ... ok
testAttributes (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testOrganizationOwnedTeam (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testAttributes (tests.RequiredStatusChecks.RequiredStatusChecks) ... ok
testRaisesRetryErrorAfterMaxRetries (tests.Retry.Retry) ... ok
testReturnsRepoAfter1Retry (tests.Retry.Retry) ... ok
testReturnsRepoAfter3Retries (tests.Retry.Retry) ... ok
testShouldNotRetryWhenStatusNotOnList (tests.Retry.Retry) ... ok
testGetPageOnSearchUsers (tests.Search.Search) ... ok
testPaginateSearchCommits (tests.Search.Search) ... ok
testPaginateSearchTopics (tests.Search.Search) ... ok
testPaginateSearchUsers (tests.Search.Search) ... ok
testSearchCode (tests.Search.Search) ... ok
testSearchHighlightingCode (tests.Search.Search) ... ok
testSearchIssues (tests.Search.Search) ... ok
testSearchRepos (tests.Search.Search) ... ok
testSearchReposWithNoResults (tests.Search.Search) ... ok
testSearchTopics (tests.Search.Search) ... ok
testSearchUsers (tests.Search.Search) ... ok
testUrlquotingOfQualifiers (tests.Search.Search) ... ok
testUrlquotingOfQuery (tests.Search.Search) ... ok
testAttributes (tests.SourceImport.SourceImport) ... ok
testAuthenticatedRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testBadCredentials (tests.Exceptions.SpecificExceptions) ... ok
testBadUserAgent (tests.Exceptions.SpecificExceptions) ... ok
testRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testUnknownObject (tests.Exceptions.SpecificExceptions) ... ok
testAttributes (tests.Tag.Tag) ... ok
testAttributes (tests.Team.Team) ... ok
testDelete (tests.Team.Team) ... ok
testEditWithAllArguments (tests.Team.Team) ... ok
testEditWithoutArguments (tests.Team.Team) ... ok
testMembers (tests.Team.Team) ... ok
testRepoPermission (tests.Team.Team) ... ok
testRepos (tests.Team.Team) ... ok
testGetClones (tests.Traffic.Traffic) ... ok
testGetPaths (tests.Traffic.Traffic) ... ok
testGetReferrers (tests.Traffic.Traffic) ... ok
testGetViews (tests.Traffic.Traffic) ... ok
testAttributes (tests.UserKey.UserKey) ... ok
testDelete (tests.UserKey.UserKey) ... ok

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 97, in testLock
    self.issue.lock("resolved")
  File "/home/travis/build/PyGithub/PyGithub/github/Issue.py", line 374, in lock
    headers={'Accept': Consts.mediaTypeLockReasonPreview}
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 412, in __requestRaw
    response = cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 235, in getresponse
    response = self.__cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 114, in getresponse
    r = verb(url, headers=self.headers, data=self.input, timeout=self.timeout, verify=self.verify, allow_redirects=False)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 593, in put
    return self.request('PUT', url, data=data, **kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', BadStatusLine("''",))

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
AssertionError: "{'Content-Type': 'application/json', 'Accept': 'application/vnd.github.sailor-v-preview+json', 'Authorization': 'Bearer jwt_removed', 'User-Agent': 'PyGithub/Python'}" != ''

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 100, in testUnlock
    self.issue.unlock()
  File "/home/travis/build/PyGithub/PyGithub/github/Issue.py", line 384, in unlock
    self.url + "/lock"
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 412, in __requestRaw
    response = cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 235, in getresponse
    response = self.__cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/github/Requester.py", line 114, in getresponse
    r = verb(url, headers=self.headers, data=self.input, timeout=self.timeout, verify=self.verify, allow_redirects=False)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 615, in delete
    return self.request('DELETE', url, **kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', BadStatusLine("''",))

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
AssertionError: "{'Authorization': 'Bearer jwt_removed', 'User-Agent': 'PyGithub/Python'}" != ''

----------------------------------------------------------------------
Ran 463 tests in 22.226s

FAILED (errors=4)
Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>
Coverage.py warning: Module github/tests was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)
error: Test failed: <unittest.runner.TextTestResult run=463 errors=4 failures=0>

4th Build

View build log

if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then python -m lib2to3 -w -n tests; fi
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored tests/AllTests.py
--- tests/AllTests.py	(original)
+++ tests/AllTests.py	(refactored)
@@ -40,89 +40,89 @@
 #                                                                              #
 ################################################################################
 
-from AuthenticatedUser import *
-from Authentication import *
-from Authorization import *
-from Branch import *
-from BranchProtection import *
-from Commit import *
-from CommitCombinedStatus import *
-from CommitComment import *
-from CommitStatus import *
-from ContentFile import *
-from Download import *
-from Event import *
-from Gist import *
-from GistComment import *
-from GitBlob import *
-from GitCommit import *
-from Github_ import *
-from GitRef import *
-from GitRelease import *
-from GitReleaseAsset import *
-from GitTag import *
-from GitTree import *
-from Hook import *
-from Issue import *
-from IssueComment import *
-from Reaction import *
-from IssueEvent import *
-from License import *
-from Label import *
-from Milestone import *
-from NamedUser import *
-from Markdown import *
-from Notification import *
-from OrganizationHasInMembers import *
-from Organization import *
-from Project import *
-from PullRequest import *
-from PullRequestComment import *
-from PullRequestReview import *
-from PullRequestFile import *
-from RateLimiting import *
-from Repository import *
-from RepositoryKey import *
-from RequiredPullRequestReviews import *
-from RequiredStatusChecks import *
-from SourceImport import *
-from Tag import *
-from Team import *
-from Traffic import *
-from UserKey import *
-from Migration import *
-from GithubIntegration import *
+from .AuthenticatedUser import *
+from .Authentication import *
+from .Authorization import *
+from .Branch import *
+from .BranchProtection import *
+from .Commit import *
+from .CommitCombinedStatus import *
+from .CommitComment import *
+from .CommitStatus import *
+from .ContentFile import *
+from .Download import *
+from .Event import *
+from .Gist import *
+from .GistComment import *
+from .GitBlob import *
+from .GitCommit import *
+from .Github_ import *
+from .GitRef import *
+from .GitRelease import *
+from .GitReleaseAsset import *
+from .GitTag import *
+from .GitTree import *
+from .Hook import *
+from .Issue import *
+from .IssueComment import *
+from .Reaction import *
+from .IssueEvent import *
+from .License import *
+from .Label import *
+from .Milestone import *
+from .NamedUser import *
+from .Markdown import *
+from .Notification import *
+from .OrganizationHasInMembers import *
+from .Organization import *
+from .Project import *
+from .PullRequest import *
+from .PullRequestComment import *
+from .PullRequestReview import *
+from .PullRequestFile import *
+from .RateLimiting import *
+from .Repository import *
+from .RepositoryKey import *
+from .RequiredPullRequestReviews import *
+from .RequiredStatusChecks import *
+from .SourceImport import *
+from .Tag import *
+from .Team import *
+from .Traffic import *
+from .UserKey import *
+from .Migration import *
+from .GithubIntegration import *
 
-from PaginatedList import *
-from Exceptions import *
-from Enterprise import *
-from Logging_ import *
-from RawData import *
-from ConditionalRequestUpdate import *
-from Persistence import *
-from ExposeAllAttributes import *
-from BadAttributes import *
-from Equality import *
-from Search import *
-from Retry import *
+from .PaginatedList import *
+from .Exceptions import *
+from .Enterprise import *
+from .Logging_ import *
+from .RawData import *
+from .ConditionalRequestUpdate import *
+from .Persistence import *
+from .ExposeAllAttributes import *
+from .BadAttributes import *
+from .Equality import *
+from .Search import *
+from .Retry import *
 
-from Issue33 import *
-from Issue50 import *
-from Issue54 import *
-from Issue80 import *
-from Issue87 import *
-from Issue131 import *
-from Issue133 import *
-from Issue134 import *
-from Issue139 import *
-from Issue140 import *
-from Issue142 import *
-from Issue158 import *
-from Issue174 import *
-from Issue214 import *
-from Issue216 import *
-from Issue278 import *
-from Issue494 import *
-from Issue572 import *
-from Issue937 import *
-from Issue945 import *
+from .Issue33 import *
+from .Issue50 import *
+from .Issue54 import *
+from .Issue80 import *
+from .Issue87 import *
+from .Issue131 import *
+from .Issue133 import *
+from .Issue134 import *
+from .Issue139 import *
+from .Issue140 import *
+from .Issue142 import *
+from .Issue158 import *
+from .Issue174 import *
+from .Issue214 import *
+from .Issue216 import *
+from .Issue278 import *
+from .Issue494 import *
+from .Issue572 import *
+from .Issue937 import *
+from .Issue945 import *
RefactoringTool: Refactored tests/AuthenticatedUser.py
--- tests/AuthenticatedUser.py	(original)
+++ tests/AuthenticatedUser.py	(refactored)
@@ -32,7 +32,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
@@ -167,13 +167,13 @@
     def testCreateGist(self):
         gist = self.user.create_gist(True, {"foobar.txt": github.InputFileContent("File created by PyGithub")}, "Gist created by PyGithub")
         self.assertEqual(gist.description, "Gist created by PyGithub")
-        self.assertEqual(gist.files.keys(), ["foobar.txt"])
+        self.assertEqual(list(gist.files.keys()), ["foobar.txt"])
         self.assertEqual(gist.files["foobar.txt"].content, "File created by PyGithub")
 
     def testCreateGistWithoutDescription(self):
         gist = self.user.create_gist(True, {"foobar.txt": github.InputFileContent("File created by PyGithub")})
         self.assertEqual(gist.description, None)
-        self.assertEqual(gist.files.keys(), ["foobar.txt"])
+        self.assertEqual(list(gist.files.keys()), ["foobar.txt"])
         self.assertEqual(gist.files["foobar.txt"].content, "File created by PyGithub")
 
     def testCreateKey(self):
@@ -245,7 +245,7 @@
         self.assertListKeyEqual(self.user.get_notifications(all=True), lambda n: n.id, [])
 
     def testMarkNotificationsAsRead(self):
-        self.user.mark_notifications_as_read(datetime.datetime(2018, 10, 18, 18, 20, 01, 0))
+        self.user.mark_notifications_as_read(datetime.datetime(2018, 10, 18, 18, 20, 0o1, 0))
 
     def testGetTeams(self):
         self.assertListKeyEqual(self.user.get_teams(), lambda t: t.name, ["Owners", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries", "Honoraries"])
RefactoringTool: Refactored tests/Authentication.py
--- tests/Authentication.py	(original)
+++ tests/Authentication.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Authorization.py
--- tests/Authorization.py	(original)
+++ tests/Authorization.py	(refactored)
@@ -27,7 +27,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/BadAttributes.py
--- tests/BadAttributes.py	(original)
+++ tests/BadAttributes.py	(refactored)
@@ -28,7 +28,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 import github
 
 
@@ -41,7 +41,7 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             user.name
         self.assertEqual(raisedexp.exception.actual_value, 42)
-        self.assertEqual(raisedexp.exception.expected_type, (str, unicode))
+        self.assertEqual(raisedexp.exception.expected_type, (str, str))
         self.assertEqual(raisedexp.exception.transformation_exception, None)
 
     def testBadAttributeTransformation(self):
@@ -51,7 +51,7 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             user.created_at
         self.assertEqual(raisedexp.exception.actual_value, "foobar")
-        self.assertEqual(raisedexp.exception.expected_type, (str, unicode))
+        self.assertEqual(raisedexp.exception.expected_type, (str, str))
         self.assertEqual(raisedexp.exception.transformation_exception.__class__, ValueError)
         self.assertEqual(raisedexp.exception.transformation_exception.args, ("time data 'foobar' does not match format '%Y-%m-%dT%H:%M:%SZ'",))
 
@@ -62,7 +62,7 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             user.updated_at
         self.assertEqual(raisedexp.exception.actual_value, 42)
-        self.assertEqual(raisedexp.exception.expected_type, (str, unicode))
+        self.assertEqual(raisedexp.exception.expected_type, (str, str))
         self.assertEqual(raisedexp.exception.transformation_exception, None)
 
     def testBadSimpleAttributeInList(self):
@@ -72,7 +72,7 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             hook.events
         self.assertEqual(raisedexp.exception.actual_value, ["push", 42])
-        self.assertEqual(raisedexp.exception.expected_type, [(str, unicode)])
+        self.assertEqual(raisedexp.exception.expected_type, [(str, str)])
         self.assertEqual(raisedexp.exception.transformation_exception, None)
 
     def testBadAttributeInClassAttribute(self):
@@ -99,13 +99,13 @@
         with self.assertRaises(github.BadAttributeException) as raisedexp:
             gist.files
         self.assertEqual(raisedexp.exception.actual_value, {"test.py": 42})
-        self.assertEqual(raisedexp.exception.expected_type, {(str, unicode): dict})
+        self.assertEqual(raisedexp.exception.expected_type, {(str, str): dict})
         self.assertEqual(raisedexp.exception.transformation_exception, None)
 
     def testIssue195(self):
         hooks = self.g.get_hooks()
         # We can loop on all hooks as long as we don't access circleci's events attribute
-        self.assertListKeyEqual(hooks, lambda h: h.name, [u'activecollab', u'acunote', u'agilebench', u'agilezen', u'amazonsns', u'apiary', u'apoio', u'appharbor', u'apropos', u'asana', u'backlog', u'bamboo', u'basecamp', u'bcx', u'blimp', u'boxcar', u'buddycloud', u'bugherd', u'bugly', u'bugzilla', u'campfire', u'cia', u'circleci', u'codeclimate', u'codeportingcsharp2java', u'codeship', u'coffeedocinfo', u'conductor', u'coop', u'copperegg', u'cube', u'depending', u'deployhq', u'devaria', u'docker', u'ducksboard', u'email', u'firebase', u'fisheye', u'flowdock', u'fogbugz', u'freckle', u'friendfeed', u'gemini', u'gemnasium', u'geocommit', u'getlocalization', u'gitlive', u'grmble', u'grouptalent', u'grove', u'habitualist', u'hakiri', u'hall', u'harvest', u'hipchat', u'hostedgraphite', u'hubcap', u'hubci', u'humbug', u'icescrum', u'irc', u'irker', u'ironmq', u'ironworker', u'jabber', u'jaconda', u'jeapie', u'jenkins', u'jenkinsgit', u'jira', u'jqueryplugins', u'kanbanery', u'kickoff', u'leanto', u'lechat', u'lighthouse', u'lingohub', u'loggly', u'mantisbt', u'masterbranch', u'mqttpub', u'nma', u'nodejitsu', u'notifo', u'ontime', u'pachube', u'packagist', u'phraseapp', u'pivotaltracker', u'planbox', u'planio', u'prowl', u'puppetlinter', u'pushalot', u'pushover', u'pythonpackages', u'railsbp', u'railsbrakeman', u'rally', u'rapidpush', u'rationaljazzhub', u'rationalteamconcert', u'rdocinfo', u'readthedocs', u'redmine', u'rubyforge', u'scrumdo', u'shiningpanda', u'sifter', u'simperium', u'slatebox', u'snowyevening', u'socialcast', u'softlayermessaging', u'sourcemint', u'splendidbacon', u'sprintly', u'sqsqueue', u'stackmob', u'statusnet', u'talker', u'targetprocess', u'tddium', u'teamcity', u'tender', u'tenxer', u'testpilot', u'toggl', u'trac', u'trajectory', u'travis', u'trello', u'twilio', u'twitter', u'unfuddle', u'web', u'weblate', u'webtranslateit', u'yammer', u'youtrack', u'zendesk', u'zohoprojects'])
+        self.assertListKeyEqual(hooks, lambda h: h.name, ['activecollab', 'acunote', 'agilebench', 'agilezen', 'amazonsns', 'apiary', 'apoio', 'appharbor', 'apropos', 'asana', 'backlog', 'bamboo', 'basecamp', 'bcx', 'blimp', 'boxcar', 'buddycloud', 'bugherd', 'bugly', 'bugzilla', 'campfire', 'cia', 'circleci', 'codeclimate', 'codeportingcsharp2java', 'codeship', 'coffeedocinfo', 'conductor', 'coop', 'copperegg', 'cube', 'depending', 'deployhq', 'devaria', 'docker', 'ducksboard', 'email', 'firebase', 'fisheye', 'flowdock', 'fogbugz', 'freckle', 'friendfeed', 'gemini', 'gemnasium', 'geocommit', 'getlocalization', 'gitlive', 'grmble', 'grouptalent', 'grove', 'habitualist', 'hakiri', 'hall', 'harvest', 'hipchat', 'hostedgraphite', 'hubcap', 'hubci', 'humbug', 'icescrum', 'irc', 'irker', 'ironmq', 'ironworker', 'jabber', 'jaconda', 'jeapie', 'jenkins', 'jenkinsgit', 'jira', 'jqueryplugins', 'kanbanery', 'kickoff', 'leanto', 'lechat', 'lighthouse', 'lingohub', 'loggly', 'mantisbt', 'masterbranch', 'mqttpub', 'nma', 'nodejitsu', 'notifo', 'ontime', 'pachube', 'packagist', 'phraseapp', 'pivotaltracker', 'planbox', 'planio', 'prowl', 'puppetlinter', 'pushalot', 'pushover', 'pythonpackages', 'railsbp', 'railsbrakeman', 'rally', 'rapidpush', 'rationaljazzhub', 'rationalteamconcert', 'rdocinfo', 'readthedocs', 'redmine', 'rubyforge', 'scrumdo', 'shiningpanda', 'sifter', 'simperium', 'slatebox', 'snowyevening', 'socialcast', 'softlayermessaging', 'sourcemint', 'splendidbacon', 'sprintly', 'sqsqueue', 'stackmob', 'statusnet', 'talker', 'targetprocess', 'tddium', 'teamcity', 'tender', 'tenxer', 'testpilot', 'toggl', 'trac', 'trajectory', 'travis', 'trello', 'twilio', 'twitter', 'unfuddle', 'web', 'weblate', 'webtranslateit', 'yammer', 'youtrack', 'zendesk', 'zohoprojects'])
         for hook in hooks:
             if hook.name != "circleci":
                 hook.events
@@ -115,5 +115,5 @@
                 with self.assertRaises(github.BadAttributeException) as raisedexp:
                     hook.events
         self.assertEqual(raisedexp.exception.actual_value, [["commit_comment", "create", "delete", "download", "follow", "fork", "fork_apply", "gist", "gollum", "issue_comment", "issues", "member", "public", "pull_request", "pull_request_review_comment", "push", "status", "team_add", "watch"]])
-        self.assertEqual(raisedexp.exception.expected_type, [(str, unicode)])
+        self.assertEqual(raisedexp.exception.expected_type, [(str, str)])
         self.assertEqual(raisedexp.exception.transformation_exception, None)
RefactoringTool: Refactored tests/Branch.py
--- tests/Branch.py	(original)
+++ tests/Branch.py	(refactored)
@@ -30,7 +30,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
@@ -68,9 +68,9 @@
         self.assertEqual(raisedexp.exception.status, 422)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#update-branch-protection',
-                u'message': u'Validation Failed',
-                u'errors': [u'Only organization repositories can have users and team restrictions']
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#update-branch-protection',
+                'message': 'Validation Failed',
+                'errors': ['Only organization repositories can have users and team restrictions']
             }
         )
 
@@ -80,9 +80,9 @@
         self.assertEqual(raisedexp.exception.status, 422)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#update-branch-protection',
-                u'message': u'Validation Failed',
-                u'errors': [u'Only organization repositories can have users and team restrictions']
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#update-branch-protection',
+                'message': 'Validation Failed',
+                'errors': ['Only organization repositories can have users and team restrictions']
             }
         )
 
@@ -104,8 +104,8 @@
         self.assertEqual(raisedexp.exception.status, 404)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#get-branch-protection',
-                u'message': u'Branch not protected'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#get-branch-protection',
+                'message': 'Branch not protected'
             }
         )
 
@@ -122,8 +122,8 @@
         self.assertEqual(raisedexp.exception.status, 404)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch',
-                u'message': u'Required status checks not enabled'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch',
+                'message': 'Required status checks not enabled'
             }
         )
 
@@ -140,8 +140,8 @@
         self.assertEqual(raisedexp.exception.status, 422)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch',
-                u'message': u'Invalid request.\n\n9 must be less than or equal to 6.'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch',
+                'message': 'Invalid request.\n\n9 must be less than or equal to 6.'
             }
         )
 
@@ -151,8 +151,8 @@
         self.assertEqual(raisedexp.exception.status, 422)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch',
-                u'message': u'Dismissal restrictions are supported only for repositories owned by an organization.'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch',
+                'message': 'Dismissal restrictions are supported only for repositories owned by an organization.'
             }
         )
 
@@ -184,8 +184,8 @@
         self.assertEqual(raisedexp.exception.status, 404)
         self.assertEqual(
             raisedexp.exception.data, {
-                u'documentation_url': u'https://developer.github.com/v3/repos/branches/#list-team-restrictions-of-protected-branch',
-                u'message': u'Push restrictions not enabled'
+                'documentation_url': 'https://developer.github.com/v3/repos/branches/#list-team-restrictions-of-protected-branch',
+                'message': 'Push restrictions not enabled'
             }
         )
 
RefactoringTool: Refactored tests/BranchProtection.py
--- tests/BranchProtection.py	(original)
+++ tests/BranchProtection.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class BranchProtection(Framework.TestCase):
RefactoringTool: Refactored tests/Commit.py
--- tests/Commit.py	(original)
+++ tests/Commit.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Commit(Framework.TestCase):
@@ -48,7 +48,7 @@
         self.assertEqual(self.commit.files[0].changes, 20)
         self.assertEqual(self.commit.files[0].deletions, 20)
         self.assertEqual(self.commit.files[0].filename, "github/GithubObjects/GitAuthor.py")
-        self.assertTrue(isinstance(self.commit.files[0].patch, (str, unicode)))
+        self.assertTrue(isinstance(self.commit.files[0].patch, str))
         self.assertEqual(self.commit.files[0].raw_url, "https://github.com/jacquev6/PyGithub/raw/1292bf0e22c796e91cc3d6e24b544aece8c21f2a/github/GithubObjects/GitAuthor.py")
         self.assertEqual(self.commit.files[0].sha, "1292bf0e22c796e91cc3d6e24b544aece8c21f2a")
         self.assertEqual(self.commit.files[0].status, "modified")
RefactoringTool: Refactored tests/CommitCombinedStatus.py
--- tests/CommitCombinedStatus.py	(original)
+++ tests/CommitCombinedStatus.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/CommitComment.py
--- tests/CommitComment.py	(original)
+++ tests/CommitComment.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/CommitStatus.py
--- tests/CommitStatus.py	(original)
+++ tests/CommitStatus.py	(refactored)
@@ -30,7 +30,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/ConditionalRequestUpdate.py
--- tests/ConditionalRequestUpdate.py	(original)
+++ tests/ConditionalRequestUpdate.py	(refactored)
@@ -27,7 +27,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/ContentFile.py
--- tests/ContentFile.py	(original)
+++ tests/ContentFile.py	(refactored)
@@ -30,7 +30,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/Download.py
--- tests/Download.py	(original)
+++ tests/Download.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Enterprise.py
--- tests/Enterprise.py	(original)
+++ tests/Enterprise.py	(refactored)
@@ -29,7 +29,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 # Replay data for this test case is forged, because I don't have access to a real Github Enterprise install
RefactoringTool: Refactored tests/Equality.py
--- tests/Equality.py	(original)
+++ tests/Equality.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Equality(Framework.TestCase):
RefactoringTool: Refactored tests/Event.py
--- tests/Event.py	(original)
+++ tests/Event.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Exceptions.py
--- tests/Exceptions.py	(original)
+++ tests/Exceptions.py	(refactored)
@@ -35,7 +35,7 @@
 import sys
 import pickle
 
-import Framework
+from . import Framework
 
 atMostPython2 = sys.hexversion < 0x03000000
 
RefactoringTool: Refactored tests/ExposeAllAttributes.py
--- tests/ExposeAllAttributes.py	(original)
+++ tests/ExposeAllAttributes.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class ExposeAllAttributes(Framework.TestCase):
@@ -128,11 +128,11 @@
             # userKey,  # Security issue if put as-is in ReplayData
         ])
 
-        for className, attributesMissingInClass in sorted(missingAttributes.iteritems()):
-            for attrName, value in sorted(attributesMissingInClass.iteritems()):
-                print className, attrName, "->", repr(value)
+        for className, attributesMissingInClass in sorted(missingAttributes.items()):
+            for attrName, value in sorted(attributesMissingInClass.items()):
+                print(className, attrName, "->", repr(value))
 
-        self.assertEqual(sum(len(attrs) for attrs in missingAttributes.values()), 0)
+        self.assertEqual(sum(len(attrs) for attrs in list(missingAttributes.values())), 0)
 
     def findMissingAttributes(self, obj):
         if hasattr(obj, "update"):
RefactoringTool: Refactored tests/Framework.py
--- tests/Framework.py	(original)
+++ tests/Framework.py	(refactored)
@@ -96,7 +96,7 @@
         self.__cnx = self._realConnection(host, port, *args, **kwds)
 
     def request(self, verb, url, input, headers):
-        print verb, url, input, headers,
+        print(verb, url, input, headers, end=' ')
         self.__cnx.request(verb, url, input, headers)
         # fixAuthorizationHeader changes the parameter directly to remove Authorization token.
         # however, this is the real dictionary that *will be sent* by "requests",
@@ -119,7 +119,7 @@
         res = self.__cnx.getresponse()
 
         status = res.status
-        print "=>", status
+        print("=>", status)
         headers = res.getheaders()
         output = res.read()
 
@@ -191,7 +191,7 @@
         self.__testCase.assertEqual(self.__splitUrl(url), self.__splitUrl(readLine(self.__file)))
         self.__testCase.assertEqual(headers, eval(readLine(self.__file)))
         expectedInput = readLine(self.__file)
-        if isinstance(input, (str, unicode)):
+        if isinstance(input, str):
             if input.startswith("{"):
                 self.__testCase.assertEqual(json.loads(input.replace('\n', '').replace('\r', '')), json.loads(expectedInput))
             elif python2:  # @todo Test in all cases, including Python 3.4+
RefactoringTool: Refactored tests/Gist.py
--- tests/Gist.py	(original)
+++ tests/Gist.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
@@ -40,7 +40,7 @@
         self.assertEqual(gist.comments, 0)
         self.assertEqual(gist.created_at, datetime.datetime(2013, 8, 21, 16, 28, 24))
         self.assertEqual(gist.description, "Github API")
-        self.assertEqual(gist.files.keys(), ["GithubAPI.lua"])
+        self.assertEqual(list(gist.files.keys()), ["GithubAPI.lua"])
         self.assertEqual(gist.files["GithubAPI.lua"].size, 21229)
         self.assertEqual(gist.files["GithubAPI.lua"].filename, "GithubAPI.lua")
         self.assertEqual(gist.files["GithubAPI.lua"].language, "Lua")
@@ -90,13 +90,13 @@
         gist = self.g.get_gist("5339374")
         self.assertEqual(sorted(gist.files.keys()), ["bar.txt", "foo.txt"])
         gist.edit(files={"foo.txt": None})
-        self.assertEqual(gist.files.keys(), ["bar.txt"])
+        self.assertEqual(list(gist.files.keys()), ["bar.txt"])
 
     def testRenameFile(self):
         gist = self.g.get_gist("5339374")
-        self.assertEqual(gist.files.keys(), ["bar.txt"])
+        self.assertEqual(list(gist.files.keys()), ["bar.txt"])
         gist.edit(files={"bar.txt": github.InputFileContent(gist.files["bar.txt"].content, new_name="baz.txt")})
-        self.assertEqual(gist.files.keys(), ["baz.txt"])
+        self.assertEqual(list(gist.files.keys()), ["baz.txt"])
 
     def testCreateComment(self):
         gist = self.g.get_gist("2729810")
RefactoringTool: Refactored tests/GistComment.py
--- tests/GistComment.py	(original)
+++ tests/GistComment.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/GitBlob.py
--- tests/GitBlob.py	(original)
+++ tests/GitBlob.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class GitBlob(Framework.TestCase):
RefactoringTool: Refactored tests/GitCommit.py
--- tests/GitCommit.py	(original)
+++ tests/GitCommit.py	(refactored)
@@ -31,7 +31,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
 
 class GitCommit(Framework.TestCase):
RefactoringTool: Refactored tests/GitRef.py
--- tests/GitRef.py	(original)
+++ tests/GitRef.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class GitRef(Framework.TestCase):
RefactoringTool: Refactored tests/GitRelease.py
--- tests/GitRelease.py	(original)
+++ tests/GitRelease.py	(refactored)
@@ -37,7 +37,7 @@
 import os
 import zipfile
 import datetime
-import Framework
+from . import Framework
 from pprint import pprint
 
 
RefactoringTool: Refactored tests/GitReleaseAsset.py
--- tests/GitReleaseAsset.py	(original)
+++ tests/GitReleaseAsset.py	(refactored)
@@ -25,7 +25,7 @@
 ################################################################################
 
 import datetime
-import Framework
+from . import Framework
 from pprint import pprint
 
 
RefactoringTool: Refactored tests/GitTag.py
--- tests/GitTag.py	(original)
+++ tests/GitTag.py	(refactored)
@@ -31,7 +31,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
 
 class GitTag(Framework.TestCase):
RefactoringTool: Refactored tests/GitTree.py
--- tests/GitTree.py	(original)
+++ tests/GitTree.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class GitTree(Framework.TestCase):
RefactoringTool: Refactored tests/GithubIntegration.py
--- tests/GithubIntegration.py	(original)
+++ tests/GithubIntegration.py	(refactored)
@@ -66,8 +66,8 @@
             @property
             def text(self):
                 return (
-                    u'{"token": "v1.ce63424bc55028318325caac4f4c3a5378ca0038",'
-                    u'"expires_at": "2019-02-13T11:10:38Z"}'
+                    '{"token": "v1.ce63424bc55028318325caac4f4c3a5378ca0038",'
+                    '"expires_at": "2019-02-13T11:10:38Z"}'
                 )
 
             def __call__(self, *args, **kwargs):
RefactoringTool: Refactored tests/Github_.py
--- tests/Github_.py	(original)
+++ tests/Github_.py	(refactored)
@@ -34,9 +34,9 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
-import Time
+from . import Time
 
 import github
 
RefactoringTool: Refactored tests/Hook.py
--- tests/Hook.py	(original)
+++ tests/Hook.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Issue.py
--- tests/Issue.py	(original)
+++ tests/Issue.py	(refactored)
@@ -32,7 +32,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Issue131.py
--- tests/Issue131.py	(original)
+++ tests/Issue131.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Issue131(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/pull/133
RefactoringTool: Refactored tests/Issue133.py
--- tests/Issue133.py	(original)
+++ tests/Issue133.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Issue133(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/pull/133
RefactoringTool: Refactored tests/Issue134.py
--- tests/Issue134.py	(original)
+++ tests/Issue134.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue139.py
--- tests/Issue139.py	(original)
+++ tests/Issue139.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue140.py
--- tests/Issue140.py	(original)
+++ tests/Issue140.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue158.py
--- tests/Issue158.py	(original)
+++ tests/Issue158.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue174.py
--- tests/Issue174.py	(original)
+++ tests/Issue174.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue214.py
--- tests/Issue214.py	(original)
+++ tests/Issue214.py	(refactored)
@@ -27,7 +27,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 class Issue214(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/issues/214
RefactoringTool: Refactored tests/Issue216.py
--- tests/Issue216.py	(original)
+++ tests/Issue216.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/Issue278.py
--- tests/Issue278.py	(original)
+++ tests/Issue278.py	(refactored)
@@ -24,7 +24,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 # Replay data forged by adding nulls to PaginatedList.setUp.txt and PaginatedList.testIteration.txt
RefactoringTool: Refactored tests/Issue33.py
--- tests/Issue33.py	(original)
+++ tests/Issue33.py	(refactored)
@@ -27,7 +27,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Issue33(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/issues/33
RefactoringTool: Refactored tests/Issue494.py
--- tests/Issue494.py	(original)
+++ tests/Issue494.py	(refactored)
@@ -23,7 +23,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Issue494(Framework.TestCase):
RefactoringTool: Refactored tests/Issue50.py
--- tests/Issue50.py	(original)
+++ tests/Issue50.py	(refactored)
@@ -29,7 +29,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 class Issue50(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/issues/50
RefactoringTool: Refactored tests/Issue54.py
--- tests/Issue54.py	(original)
+++ tests/Issue54.py	(refactored)
@@ -29,7 +29,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
 
 class Issue54(Framework.TestCase):
RefactoringTool: Refactored tests/Issue572.py
--- tests/Issue572.py	(original)
+++ tests/Issue572.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/Issue80.py
--- tests/Issue80.py	(original)
+++ tests/Issue80.py	(refactored)
@@ -29,7 +29,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 class Issue80(Framework.BasicTestCase):  # https://github.com/jacquev6/PyGithub/issues/80
RefactoringTool: Refactored tests/Issue87.py
--- tests/Issue87.py	(original)
+++ tests/Issue87.py	(refactored)
@@ -29,7 +29,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 
 class Issue87(Framework.TestCase):  # https://github.com/jacquev6/PyGithub/issues/87
RefactoringTool: Refactored tests/Issue937.py
--- tests/Issue937.py	(original)
+++ tests/Issue937.py	(refactored)
@@ -21,7 +21,7 @@
 # along with PyGithub. If not, see <http://www.gnu.org/licenses/>.             #
 #                                                                              #
 ################################################################################
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/Issue945.py
--- tests/Issue945.py	(original)
+++ tests/Issue945.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/IssueComment.py
--- tests/IssueComment.py	(original)
+++ tests/IssueComment.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/IssueEvent.py
--- tests/IssueEvent.py	(original)
+++ tests/IssueEvent.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
@@ -331,7 +331,7 @@
         self.assertEqual(self.event_renamed.review_requester, None)
         self.assertEqual(self.event_renamed.requested_reviewer, None)
         self.assertEqual(self.event_renamed.milestone, None)
-        self.assertEqual(self.event_renamed.rename, {u'to': u'Adding new attributes to IssueEvent', u'from': u'Adding new attributes to IssueEvent Object (DO NOT MERGE - SEE NOTES)'})
+        self.assertEqual(self.event_renamed.rename, {'to': 'Adding new attributes to IssueEvent', 'from': 'Adding new attributes to IssueEvent Object (DO NOT MERGE - SEE NOTES)'})
         self.assertEqual(self.event_renamed.dismissed_review, None)
         self.assertEqual(self.event_renamed.lock_reason, None)
         # test __repr__() based on this attributes
@@ -508,7 +508,7 @@
         self.assertEqual(self.event_review_dismissed.requested_reviewer, None)
         self.assertEqual(self.event_review_dismissed.milestone, None)
         self.assertEqual(self.event_review_dismissed.rename, None)
-        self.assertEqual(self.event_review_dismissed.dismissed_review, {u'dismissal_message': u'dismiss', u'state': u'changes_requested', u'review_id': 145431295})
+        self.assertEqual(self.event_review_dismissed.dismissed_review, {'dismissal_message': 'dismiss', 'state': 'changes_requested', 'review_id': 145431295})
         self.assertEqual(self.event_review_dismissed.lock_reason, None)
         # test __repr__() based on this attributes
         self.assertEqual(self.event_review_dismissed.__repr__(), 'IssueEvent(id=1783605084)')
RefactoringTool: Refactored tests/Label.py
--- tests/Label.py	(original)
+++ tests/Label.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Label(Framework.TestCase):
RefactoringTool: Refactored tests/License.py
--- tests/License.py	(original)
+++ tests/License.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class License(Framework.TestCase):
RefactoringTool: Refactored tests/Logging_.py
--- tests/Logging_.py	(original)
+++ tests/Logging_.py	(refactored)
@@ -34,7 +34,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 python2 = sys.hexversion < 0x03000000
 
RefactoringTool: Refactored tests/Markdown.py
--- tests/Markdown.py	(original)
+++ tests/Markdown.py	(refactored)
@@ -27,7 +27,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Markdown(Framework.TestCase):
RefactoringTool: Refactored tests/Migration.py
--- tests/Migration.py	(original)
+++ tests/Migration.py	(refactored)
@@ -47,7 +47,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/Milestone.py
--- tests/Milestone.py	(original)
+++ tests/Milestone.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/NamedUser.py
--- tests/NamedUser.py	(original)
+++ tests/NamedUser.py	(refactored)
@@ -31,7 +31,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/Notification.py
--- tests/Notification.py	(original)
+++ tests/Notification.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Organization.py
--- tests/Organization.py	(original)
+++ tests/Organization.py	(refactored)
@@ -36,7 +36,7 @@
 
 import github
 
-import Framework
+from . import Framework
 
 import datetime
 
@@ -243,8 +243,8 @@
             self.org.invite_user(email='bar@example.com')
         self.assertEqual(raisedexp.exception.status, 403)
         self.assertEqual(raisedexp.exception.data, {
-            u'documentation_url': u'https://developer.github.com/v3/orgs/members/#create-organization-invitation',
-            u'message': u'You must be an admin to create an invitation to an organization.'
+            'documentation_url': 'https://developer.github.com/v3/orgs/members/#create-organization-invitation',
+            'message': 'You must be an admin to create an invitation to an organization.'
             }
         )
 
RefactoringTool: Refactored tests/OrganizationHasInMembers.py
--- tests/OrganizationHasInMembers.py	(original)
+++ tests/OrganizationHasInMembers.py	(refactored)
@@ -23,7 +23,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class OrganizationHasInMembers(Framework.TestCase):
RefactoringTool: Refactored tests/PaginatedList.py
--- tests/PaginatedList.py	(original)
+++ tests/PaginatedList.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 from github.PaginatedList import PaginatedList as PaginatedListImpl
 
 
@@ -135,7 +135,7 @@
         self.assertEqual(len(list(self.repo.get_issues())), 456)
 
     def testCustomPerPageWithNoUrlParams(self):
-        import CommitComment  # Don't polute github.tests namespace, it would conflict with github.tests.CommitComment
+        from . import CommitComment  # Don't polute github.tests namespace, it would conflict with github.tests.CommitComment
         self.g.per_page = 100
         paginated_list = PaginatedListImpl(
             CommitComment.CommitComment,
RefactoringTool: Refactored tests/Persistence.py
--- tests/Persistence.py	(original)
+++ tests/Persistence.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import github
 
 from io import BytesIO as IO
RefactoringTool: Refactored tests/Project.py
--- tests/Project.py	(original)
+++ tests/Project.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 # ##############################################################################
 
-import Framework
+from . import Framework
 import github
 
 
RefactoringTool: Refactored tests/PullRequest.py
--- tests/PullRequest.py	(original)
+++ tests/PullRequest.py	(refactored)
@@ -31,7 +31,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/PullRequestComment.py
--- tests/PullRequestComment.py	(original)
+++ tests/PullRequestComment.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/PullRequestFile.py
--- tests/PullRequestFile.py	(original)
+++ tests/PullRequestFile.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class PullRequestFile(Framework.TestCase):
RefactoringTool: Refactored tests/PullRequestReview.py
--- tests/PullRequestReview.py	(original)
+++ tests/PullRequestReview.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/RateLimiting.py
--- tests/RateLimiting.py	(original)
+++ tests/RateLimiting.py	(refactored)
@@ -30,7 +30,7 @@
 
 import datetime
 
-import Framework
+from . import Framework
 
 
 class RateLimiting(Framework.TestCase):
RefactoringTool: Refactored tests/RawData.py
--- tests/RawData.py	(original)
+++ tests/RawData.py	(refactored)
@@ -25,7 +25,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github.NamedUser
 
RefactoringTool: Refactored tests/Reaction.py
--- tests/Reaction.py	(original)
+++ tests/Reaction.py	(refactored)
@@ -23,7 +23,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/Repository.py
--- tests/Repository.py	(original)
+++ tests/Repository.py	(refactored)
@@ -47,7 +47,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
@@ -304,8 +304,8 @@
             self.repo.get_collaborator_permission('lyloa')
         self.assertEqual(raisedexp.exception.status, 403)
         self.assertEqual(raisedexp.exception.data, {
-            u'documentation_url': u'https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level',
-            u'message': u'Must have push access to view collaborator permission.'
+            'documentation_url': 'https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level',
+            'message': 'Must have push access to view collaborator permission.'
             }
         )
 
@@ -457,12 +457,12 @@
             repo.get_stargazers_with_dates(),
             lambda stargazer: (stargazer.starred_at, stargazer.user.login),
             [
-                (datetime.datetime(2014, 8, 13, 19, 22, 5), u'sAlexander'),
-                (datetime.datetime(2014, 10, 15, 5, 2, 30), u'ThomasG77'),
-                (datetime.datetime(2015, 4, 14, 15, 22, 40), u'therusek'),
-                (datetime.datetime(2015, 4, 29, 0, 9, 40), u'athomann'),
-                (datetime.datetime(2015, 4, 29, 14, 26, 46), u'jcapron'),
-                (datetime.datetime(2015, 5, 9, 19, 14, 45), u'JoePython1')
+                (datetime.datetime(2014, 8, 13, 19, 22, 5), 'sAlexander'),
+                (datetime.datetime(2014, 10, 15, 5, 2, 30), 'ThomasG77'),
+                (datetime.datetime(2015, 4, 14, 15, 22, 40), 'therusek'),
+                (datetime.datetime(2015, 4, 29, 0, 9, 40), 'athomann'),
+                (datetime.datetime(2015, 4, 29, 14, 26, 46), 'jcapron'),
+                (datetime.datetime(2015, 5, 9, 19, 14, 45), 'JoePython1')
             ]
         )
 
@@ -527,7 +527,7 @@
 
         contents = self.repo.get_contents("")
         self.assertTrue(isinstance(contents, list))
-        self.assertEquals(len(contents), 14)
+        self.assertEqual(len(contents), 14)
 
     def testGetContentsWithRef(self):
         self.assertEqual(len(self.repo.get_readme(ref="refs/heads/topic/ExperimentOnDocumentation").content), 6747)
@@ -644,7 +644,7 @@
 
     def testGetTopics(self):
         topic_list = self.repo.get_topics()
-        topic = u'github'
+        topic = 'github'
         self.assertIn(topic, topic_list)
 
     def testReplaceTopics(self):
RefactoringTool: Refactored tests/RepositoryKey.py
--- tests/RepositoryKey.py	(original)
+++ tests/RepositoryKey.py	(refactored)
@@ -31,7 +31,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import datetime
 
RefactoringTool: Refactored tests/RequiredPullRequestReviews.py
--- tests/RequiredPullRequestReviews.py	(original)
+++ tests/RequiredPullRequestReviews.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/RequiredStatusChecks.py
--- tests/RequiredStatusChecks.py	(original)
+++ tests/RequiredStatusChecks.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 
RefactoringTool: Refactored tests/Retry.py
--- tests/Retry.py	(original)
+++ tests/Retry.py	(refactored)
@@ -28,7 +28,7 @@
 import urllib3
 from httpretty import httpretty
 
-import Framework
+from . import Framework
 
 import requests
 
@@ -56,31 +56,31 @@
         try:
             self.g.get_repo(REPO_NAME)
         except GithubException:
-            self.assertEquals(len(httpretty.latest_requests), 1)
+            self.assertEqual(len(httpretty.latest_requests), 1)
 
     def testReturnsRepoAfter3Retries(self):
         repository = self.g.get_repo(REPO_NAME)
-        self.assertEquals(len(httpretty.latest_requests), 4)
+        self.assertEqual(len(httpretty.latest_requests), 4)
         for request in httpretty.latest_requests:
-            self.assertEquals(request.path, '/repos/' + REPO_NAME)
+            self.assertEqual(request.path, '/repos/' + REPO_NAME)
 
         self.assertIsInstance(repository, Repository)
-        self.assertEquals(repository.full_name, REPO_NAME)
+        self.assertEqual(repository.full_name, REPO_NAME)
 
     def testReturnsRepoAfter1Retry(self):
         repository = self.g.get_repo(REPO_NAME)
-        self.assertEquals(len(httpretty.latest_requests), 2)
+        self.assertEqual(len(httpretty.latest_requests), 2)
         for request in httpretty.latest_requests:
-            self.assertEquals(request.path, '/repos/' + REPO_NAME)
+            self.assertEqual(request.path, '/repos/' + REPO_NAME)
 
         self.assertIsInstance(repository, Repository)
-        self.assertEquals(repository.full_name, REPO_NAME)
+        self.assertEqual(repository.full_name, REPO_NAME)
 
     def testRaisesRetryErrorAfterMaxRetries(self):
         try:
             response = self.g.get_repo('PyGithub/PyGithub')
             self.fail("RetryError should have been raised")
         except requests.exceptions.RetryError:
-            self.assertEquals(len(httpretty.latest_requests), 4)
+            self.assertEqual(len(httpretty.latest_requests), 4)
             for request in httpretty.latest_requests:
-                self.assertEquals(request.path, '/repos/PyGithub/PyGithub')
+                self.assertEqual(request.path, '/repos/PyGithub/PyGithub')
RefactoringTool: Refactored tests/Search.py
--- tests/Search.py	(original)
+++ tests/Search.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 import sys
 
 atLeastPython3 = sys.hexversion >= 0x03000000
@@ -42,16 +42,16 @@
 
     def testPaginateSearchUsers(self):
         users = self.g.search_users("", location="Berlin")
-        self.assertListKeyBegin(users, lambda u: u.login, [u'cloudhead', u'felixge', u'sferik', u'rkh', u'jezdez', u'janl', u'marijnh', u'nikic', u'igorw', u'froschi', u'svenfuchs', u'omz', u'chad', u'bergie', u'roidrage', u'pcalcado', u'durran', u'hukl', u'mttkay', u'aFarkas', u'ole', u'hagenburger', u'jberkel', u'naderman', u'joshk', u'pudo', u'robb', u'josephwilk', u'hanshuebner', u'txus', u'paulasmuth', u'splitbrain', u'langalex', u'bendiken', u'stefanw'])
+        self.assertListKeyBegin(users, lambda u: u.login, ['cloudhead', 'felixge', 'sferik', 'rkh', 'jezdez', 'janl', 'marijnh', 'nikic', 'igorw', 'froschi', 'svenfuchs', 'omz', 'chad', 'bergie', 'roidrage', 'pcalcado', 'durran', 'hukl', 'mttkay', 'aFarkas', 'ole', 'hagenburger', 'jberkel', 'naderman', 'joshk', 'pudo', 'robb', 'josephwilk', 'hanshuebner', 'txus', 'paulasmuth', 'splitbrain', 'langalex', 'bendiken', 'stefanw'])
         self.assertEqual(users.totalCount, 6038)
 
     def testGetPageOnSearchUsers(self):
         users = self.g.search_users("", location="Berlin")
-        self.assertEqual([u.login for u in users.get_page(7)], [u'ursachec', u'bitboxer', u'fs111', u'michenriksen', u'witsch', u'booo', u'mortice', u'r0man', u'MikeBild', u'mhagger', u'bkw', u'fwbrasil', u'mschneider', u'lydiapintscher', u'asksven', u'iamtimm', u'sneak', u'kr1sp1n', u'Feh', u'GordonLesti', u'annismckenzie', u'eskimoblood', u'tsujigiri', u'riethmayer', u'lauritzthamsen', u'scotchi', u'peritor', u'toto', u'hwaxxer', u'lukaszklis'])
+        self.assertEqual([u.login for u in users.get_page(7)], ['ursachec', 'bitboxer', 'fs111', 'michenriksen', 'witsch', 'booo', 'mortice', 'r0man', 'MikeBild', 'mhagger', 'bkw', 'fwbrasil', 'mschneider', 'lydiapintscher', 'asksven', 'iamtimm', 'sneak', 'kr1sp1n', 'Feh', 'GordonLesti', 'annismckenzie', 'eskimoblood', 'tsujigiri', 'riethmayer', 'lauritzthamsen', 'scotchi', 'peritor', 'toto', 'hwaxxer', 'lukaszklis'])
 
     def testSearchRepos(self):
         repos = self.g.search_repositories("github", sort="stars", order="desc", language="Python")
-        self.assertListKeyBegin(repos, lambda r: r.full_name, [u'kennethreitz/legit', u'RuudBurger/CouchPotatoV1', u'gelstudios/gitfiti', u'gpjt/webgl-lessons', u'jacquev6/PyGithub', u'aaasen/github_globe', u'hmason/gitmarks', u'dnerdy/factory_boy', u'binaryage/drydrop', u'bgreenlee/sublime-github', u'karan/HackerNewsAPI', u'mfenniak/pyPdf', u'skazhy/github-decorator', u'llvmpy/llvmpy', u'lexrupy/gmate', u'ask/python-github2', u'audreyr/cookiecutter-pypackage', u'tabo/django-treebeard', u'dbr/tvdb_api', u'jchris/couchapp', u'joeyespo/grip', u'nigelsmall/py2neo', u'ask/chishop', u'sigmavirus24/github3.py', u'jsmits/github-cli', u'lincolnloop/django-layout', u'amccloud/django-project-skel', u'Stiivi/brewery', u'webpy/webpy.github.com', u'dustin/py-github', u'logsol/Github-Auto-Deploy', u'cloudkick/libcloud', u'berkerpeksag/github-badge', u'bitprophet/ssh', u'azavea/OpenTreeMap'])
+        self.assertListKeyBegin(repos, lambda r: r.full_name, ['kennethreitz/legit', 'RuudBurger/CouchPotatoV1', 'gelstudios/gitfiti', 'gpjt/webgl-lessons', 'jacquev6/PyGithub', 'aaasen/github_globe', 'hmason/gitmarks', 'dnerdy/factory_boy', 'binaryage/drydrop', 'bgreenlee/sublime-github', 'karan/HackerNewsAPI', 'mfenniak/pyPdf', 'skazhy/github-decorator', 'llvmpy/llvmpy', 'lexrupy/gmate', 'ask/python-github2', 'audreyr/cookiecutter-pypackage', 'tabo/django-treebeard', 'dbr/tvdb_api', 'jchris/couchapp', 'joeyespo/grip', 'nigelsmall/py2neo', 'ask/chishop', 'sigmavirus24/github3.py', 'jsmits/github-cli', 'lincolnloop/django-layout', 'amccloud/django-project-skel', 'Stiivi/brewery', 'webpy/webpy.github.com', 'dustin/py-github', 'logsol/Github-Auto-Deploy', 'cloudkick/libcloud', 'berkerpeksag/github-badge', 'bitprophet/ssh', 'azavea/OpenTreeMap'])
 
     def testSearchReposWithNoResults(self):
         repos = self.g.search_repositories("doesnotexist")
@@ -67,7 +67,7 @@
 
     def testSearchTopics(self):
         topics = self.g.search_topics("python", repositories=">950")
-        self.assertListKeyBegin(topics, lambda r: r.name, [u"python", u"django", u"flask", u"ruby", u"scikit-learn", u"wagtail"])
+        self.assertListKeyBegin(topics, lambda r: r.name, ["python", "django", "flask", "ruby", "scikit-learn", "wagtail"])
 
     def testPaginateSearchTopics(self):
         repos = self.g.search_topics("python", repositories=">950")
@@ -75,7 +75,7 @@
 
     def testSearchCode(self):
         files = self.g.search_code("toto", sort="indexed", order="asc", user="jacquev6")
-        self.assertListKeyEqual(files, lambda f: f.name, [u'Commit.setUp.txt', u'PullRequest.testGetFiles.txt', u'NamedUser.testGetEvents.txt', u'PullRequest.testCreateComment.txt', u'PullRequestFile.setUp.txt', u'Repository.testGetIssuesWithWildcards.txt', u'Repository.testGetIssuesWithArguments.txt', u'test_ebnf.cpp', u'test_abnf.cpp', u'PullRequestFile.py', u'SystemCalls.py', u'tests.py', u'LexerTestCase.py', u'ParserTestCase.py'])
+        self.assertListKeyEqual(files, lambda f: f.name, ['Commit.setUp.txt', 'PullRequest.testGetFiles.txt', 'NamedUser.testGetEvents.txt', 'PullRequest.testCreateComment.txt', 'PullRequestFile.setUp.txt', 'Repository.testGetIssuesWithWildcards.txt', 'Repository.testGetIssuesWithArguments.txt', 'test_ebnf.cpp', 'test_abnf.cpp', 'PullRequestFile.py', 'SystemCalls.py', 'tests.py', 'LexerTestCase.py', 'ParserTestCase.py'])
         self.assertEqual(files[0].repository.full_name, "jacquev6/PyGithub")
         if atLeastPython3:
             self.assertEqual(files[0].decoded_content[:30], b'https\nGET\napi.github.com\nNone\n')
RefactoringTool: Refactored tests/SourceImport.py
--- tests/SourceImport.py	(original)
+++ tests/SourceImport.py	(refactored)
@@ -22,7 +22,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class SourceImport(Framework.TestCase):
RefactoringTool: Refactored tests/Tag.py
--- tests/Tag.py	(original)
+++ tests/Tag.py	(refactored)
@@ -28,7 +28,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Tag(Framework.TestCase):
RefactoringTool: Refactored tests/Team.py
--- tests/Team.py	(original)
+++ tests/Team.py	(refactored)
@@ -34,7 +34,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class Team(Framework.TestCase):
RefactoringTool: No changes to tests/Time.py
RefactoringTool: Refactored tests/Traffic.py
--- tests/Traffic.py	(original)
+++ tests/Traffic.py	(refactored)
@@ -26,7 +26,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 import github
 import datetime
RefactoringTool: Refactored tests/UserKey.py
--- tests/UserKey.py	(original)
+++ tests/UserKey.py	(refactored)
@@ -29,7 +29,7 @@
 #                                                                              #
 ################################################################################
 
-import Framework
+from . import Framework
 
 
 class UserKey(Framework.TestCase):
RefactoringTool: Refactored tests/__main__.py
--- tests/__main__.py	(original)
+++ tests/__main__.py	(refactored)
@@ -30,8 +30,8 @@
 
 import sys
 import unittest
-import Framework
-import AllTests
+from . import Framework
+from . import AllTests
 
 
 def main(argv):
RefactoringTool: Files that were modified:
RefactoringTool: tests/AllTests.py
RefactoringTool: tests/AuthenticatedUser.py
RefactoringTool: tests/Authentication.py
RefactoringTool: tests/Authorization.py
RefactoringTool: tests/BadAttributes.py
RefactoringTool: tests/Branch.py
RefactoringTool: tests/BranchProtection.py
RefactoringTool: tests/Commit.py
RefactoringTool: tests/CommitCombinedStatus.py
RefactoringTool: tests/CommitComment.py
RefactoringTool: tests/CommitStatus.py
RefactoringTool: tests/ConditionalRequestUpdate.py
RefactoringTool: tests/ContentFile.py
RefactoringTool: tests/Download.py
RefactoringTool: tests/Enterprise.py
RefactoringTool: tests/Equality.py
RefactoringTool: tests/Event.py
RefactoringTool: tests/Exceptions.py
RefactoringTool: tests/ExposeAllAttributes.py
RefactoringTool: tests/Framework.py
RefactoringTool: tests/Gist.py
RefactoringTool: tests/GistComment.py
RefactoringTool: tests/GitBlob.py
RefactoringTool: tests/GitCommit.py
RefactoringTool: tests/GitRef.py
RefactoringTool: tests/GitRelease.py
RefactoringTool: tests/GitReleaseAsset.py
RefactoringTool: tests/GitTag.py
RefactoringTool: tests/GitTree.py
RefactoringTool: tests/GithubIntegration.py
RefactoringTool: tests/Github_.py
RefactoringTool: tests/Hook.py
RefactoringTool: tests/Issue.py
RefactoringTool: tests/Issue131.py
RefactoringTool: tests/Issue133.py
RefactoringTool: tests/Issue134.py
RefactoringTool: tests/Issue139.py
RefactoringTool: tests/Issue140.py
RefactoringTool: tests/Issue158.py
RefactoringTool: tests/Issue174.py
RefactoringTool: tests/Issue214.py
RefactoringTool: tests/Issue216.py
RefactoringTool: tests/Issue278.py
RefactoringTool: tests/Issue33.py
RefactoringTool: tests/Issue494.py
RefactoringTool: tests/Issue50.py
RefactoringTool: tests/Issue54.py
RefactoringTool: tests/Issue572.py
RefactoringTool: tests/Issue80.py
RefactoringTool: tests/Issue87.py
RefactoringTool: tests/Issue937.py
RefactoringTool: tests/Issue945.py
RefactoringTool: tests/IssueComment.py
RefactoringTool: tests/IssueEvent.py
RefactoringTool: tests/Label.py
RefactoringTool: tests/License.py
RefactoringTool: tests/Logging_.py
RefactoringTool: tests/Markdown.py
RefactoringTool: tests/Migration.py
RefactoringTool: tests/Milestone.py
RefactoringTool: tests/NamedUser.py
RefactoringTool: tests/Notification.py
RefactoringTool: tests/Organization.py
RefactoringTool: tests/OrganizationHasInMembers.py
RefactoringTool: tests/PaginatedList.py
RefactoringTool: tests/Persistence.py
RefactoringTool: tests/Project.py
RefactoringTool: tests/PullRequest.py
RefactoringTool: tests/PullRequestComment.py
RefactoringTool: tests/PullRequestFile.py
RefactoringTool: tests/PullRequestReview.py
RefactoringTool: tests/RateLimiting.py
RefactoringTool: tests/RawData.py
RefactoringTool: tests/Reaction.py
RefactoringTool: tests/Repository.py
RefactoringTool: tests/RepositoryKey.py
RefactoringTool: tests/RequiredPullRequestReviews.py
RefactoringTool: tests/RequiredStatusChecks.py
RefactoringTool: tests/Retry.py
RefactoringTool: tests/Search.py
RefactoringTool: tests/SourceImport.py
RefactoringTool: tests/Tag.py
RefactoringTool: tests/Team.py
RefactoringTool: tests/Time.py
RefactoringTool: tests/Traffic.py
RefactoringTool: tests/UserKey.py
RefactoringTool: tests/__main__.py
coverage run --source github/tests setup.py test
running test
Searching for pyjwt
Reading https://pypi.org/simple/pyjwt/
Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl#sha256=5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e
Best match: PyJWT 1.7.1
Processing PyJWT-1.7.1-py2.py3-none-any.whl
Installing PyJWT-1.7.1-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py3.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py3.7.egg
Searching for deprecated
Reading https://pypi.org/simple/deprecated/
Downloading https://files.pythonhosted.org/packages/9f/7a/003fa432f1e45625626549726c2fbb7a29baa764e9d1fdb2323a5d779f8a/Deprecated-1.2.5-py2.py3-none-any.whl#sha256=749f6cdcfbdc3f79258f8154bad43fced95adc632c337675d0385959895894bc
Best match: Deprecated 1.2.5
Processing Deprecated-1.2.5-py2.py3-none-any.whl
Installing Deprecated-1.2.5-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py3.7.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/Deprecated-1.2.5-py3.7.egg
Searching for wrapt<2,>=1
Reading https://pypi.org/simple/wrapt/
Downloading https://files.pythonhosted.org/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz#sha256=4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533
Best match: wrapt 1.11.1
Processing wrapt-1.11.1.tar.gz
Writing /tmp/easy_install-1lsxwjgz/wrapt-1.11.1/setup.cfg
Running wrapt-1.11.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-1lsxwjgz/wrapt-1.11.1/egg-dist-tmp-gpc7fv1u
zip_safe flag not set; analyzing archive contents...
wrapt.__pycache__._wrappers.cpython-37: module references __file__
creating /home/travis/build/PyGithub/PyGithub/.eggs/wrapt-1.11.1-py3.7-linux-x86_64.egg
Extracting wrapt-1.11.1-py3.7-linux-x86_64.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/wrapt-1.11.1-py3.7-linux-x86_64.egg
Searching for httpretty==0.9.6
Reading https://pypi.org/simple/httpretty/
Downloading https://files.pythonhosted.org/packages/6e/84/c779ebe4411195716588b413dd594373144c411762c158b579cf36b37168/httpretty-0.9.6.tar.gz#sha256=01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc
Best match: httpretty 0.9.6
Processing httpretty-0.9.6.tar.gz
Writing /tmp/easy_install-gpa2dleb/httpretty-0.9.6/setup.cfg
Running httpretty-0.9.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-gpa2dleb/httpretty-0.9.6/egg-dist-tmp-cmb6pbcz
creating /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg
Extracting httpretty-0.9.6-py3.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg
Searching for cryptography
Reading https://pypi.org/simple/cryptography/
Downloading https://files.pythonhosted.org/packages/5b/12/b0409a94dad366d98a8eee2a77678c7a73aafd8c0e4b835abea634ea3896/cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl#sha256=45a4f4cf4f4e6a55c8128f8b76b4c057027b27d4c67e3fe157fa02f27e37830d
Best match: cryptography 2.6.1
Processing cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl
Installing cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py3.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cryptography-2.6.1-py3.7-linux-x86_64.egg
Searching for cffi!=1.11.3,>=1.8
Reading https://pypi.org/simple/cffi/
Downloading https://files.pythonhosted.org/packages/a0/ea/37fe21475c884f88a2ae496cab10e8f84f0cc11137be860af9eb37a3edb9/cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl#sha256=ae61af521ed676cf16ae94f30fe202781a38d7178b6b4ab622e4eec8cefaff42
Best match: cffi 1.12.3
Processing cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl
Installing cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl to /home/travis/build/PyGithub/PyGithub/.eggs
writing requirements to /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py3.7-linux-x86_64.egg/EGG-INFO/requires.txt

Installed /home/travis/build/PyGithub/PyGithub/.eggs/cffi-1.12.3-py3.7-linux-x86_64.egg
Searching for asn1crypto>=0.21.0
Reading https://pypi.org/simple/asn1crypto/
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl#sha256=2f1adbb7546ed199e3c90ef23ec95c5cf3585bac7d11fb7eb562a3fe89c64e87
Best match: asn1crypto 0.24.0
Processing asn1crypto-0.24.0-py2.py3-none-any.whl
Installing asn1crypto-0.24.0-py2.py3-none-any.whl to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/asn1crypto-0.24.0-py3.7.egg
Searching for pycparser
Reading https://pypi.org/simple/pycparser/
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz#sha256=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
Best match: pycparser 2.19
Processing pycparser-2.19.tar.gz
Writing /tmp/easy_install-uehp143r/pycparser-2.19/setup.cfg
Running pycparser-2.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-uehp143r/pycparser-2.19/egg-dist-tmp-y55jv6_x
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.__pycache__.lex.cpython-37: module references __file__
pycparser.ply.__pycache__.lex.cpython-37: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-37: module references __file__
pycparser.ply.__pycache__.yacc.cpython-37: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-37: module MAY be using inspect.stack
pycparser.ply.__pycache__.ygen.cpython-37: module references __file__
creating /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py3.7.egg
Extracting pycparser-2.19-py3.7.egg to /home/travis/build/PyGithub/PyGithub/.eggs

Installed /home/travis/build/PyGithub/PyGithub/.eggs/pycparser-2.19-py3.7.egg
running build_py
creating build
creating build/lib
creating build/lib/github
copying github/StatsCommitActivity.py -> build/lib/github
copying github/StatsPunchCard.py -> build/lib/github
copying github/Label.py -> build/lib/github
copying github/Project.py -> build/lib/github
copying github/Authorization.py -> build/lib/github
copying github/PullRequestReview.py -> build/lib/github
copying github/Event.py -> build/lib/github
copying github/PullRequestComment.py -> build/lib/github
copying github/InputGitTreeElement.py -> build/lib/github
copying github/GitAuthor.py -> build/lib/github
copying github/PaginatedList.py -> build/lib/github
copying github/IssueComment.py -> build/lib/github
copying github/RateLimit.py -> build/lib/github
copying github/AuthorizationApplication.py -> build/lib/github
copying github/HookResponse.py -> build/lib/github
copying github/GistHistoryState.py -> build/lib/github
copying github/Consts.py -> build/lib/github
copying github/GistComment.py -> build/lib/github
copying github/License.py -> build/lib/github
copying github/Team.py -> build/lib/github
copying github/Tag.py -> build/lib/github
copying github/InstallationAuthorization.py -> build/lib/github
copying github/ProjectCard.py -> build/lib/github
copying github/InputFileContent.py -> build/lib/github
copying github/GitTree.py -> build/lib/github
copying github/GitignoreTemplate.py -> build/lib/github
copying github/Hook.py -> build/lib/github
copying github/Installation.py -> build/lib/github
copying github/Migration.py -> build/lib/github
copying github/PullRequest.py -> build/lib/github
copying github/CommitStatus.py -> build/lib/github
copying github/GitTag.py -> build/lib/github
copying github/GitCommit.py -> build/lib/github
copying github/Legacy.py -> build/lib/github
copying github/Requester.py -> build/lib/github
copying github/Notification.py -> build/lib/github
copying github/PullRequestMergeStatus.py -> build/lib/github
copying github/GitTreeElement.py -> build/lib/github
copying github/Stargazer.py -> build/lib/github
copying github/IssuePullRequest.py -> build/lib/github
copying github/Plan.py -> build/lib/github
copying github/GitRef.py -> build/lib/github
copying github/Issue.py -> build/lib/github
copying github/HookDescription.py -> build/lib/github
copying github/Referrer.py -> build/lib/github
copying github/Branch.py -> build/lib/github
copying github/Gist.py -> build/lib/github
copying github/Clones.py -> build/lib/github
copying github/Repository.py -> build/lib/github
copying github/RequiredPullRequestReviews.py -> build/lib/github
copying github/Topic.py -> build/lib/github
copying github/NamedUser.py -> build/lib/github
copying github/CommitStats.py -> build/lib/github
copying github/Path.py -> build/lib/github
copying github/AuthenticatedUser.py -> build/lib/github
copying github/NotificationSubject.py -> build/lib/github
copying github/GithubObject.py -> build/lib/github
copying github/CommitComment.py -> build/lib/github
copying github/GithubException.py -> build/lib/github
copying github/RepositoryKey.py -> build/lib/github
copying github/StatsParticipation.py -> build/lib/github
copying github/Invitation.py -> build/lib/github
copying github/Organization.py -> build/lib/github
copying github/BranchProtection.py -> build/lib/github
copying github/StatsContributor.py -> build/lib/github
copying github/Rate.py -> build/lib/github
copying github/Milestone.py -> build/lib/github
copying github/GistFile.py -> build/lib/github
copying github/__init__.py -> build/lib/github
copying github/ContentFile.py -> build/lib/github
copying github/File.py -> build/lib/github
copying github/MainClass.py -> build/lib/github
copying github/GitBlob.py -> build/lib/github
copying github/InputGitAuthor.py -> build/lib/github
copying github/SourceImport.py -> build/lib/github
copying github/Permissions.py -> build/lib/github
copying github/View.py -> build/lib/github
copying github/Comparison.py -> build/lib/github
copying github/RequiredStatusChecks.py -> build/lib/github
copying github/Commit.py -> build/lib/github
copying github/IssueEvent.py -> build/lib/github
copying github/StatsCodeFrequency.py -> build/lib/github
copying github/GitReleaseAsset.py -> build/lib/github
copying github/GitObject.py -> build/lib/github
copying github/Download.py -> build/lib/github
copying github/CommitCombinedStatus.py -> build/lib/github
copying github/GitRelease.py -> build/lib/github
copying github/UserKey.py -> build/lib/github
copying github/PullRequestPart.py -> build/lib/github
copying github/Reaction.py -> build/lib/github
copying github/ProjectColumn.py -> build/lib/github
Fixing build/lib/github/StatsCommitActivity.py build/lib/github/StatsPunchCard.py build/lib/github/Label.py build/lib/github/Project.py build/lib/github/Authorization.py build/lib/github/PullRequestReview.py build/lib/github/Event.py build/lib/github/PullRequestComment.py build/lib/github/InputGitTreeElement.py build/lib/github/GitAuthor.py build/lib/github/PaginatedList.py build/lib/github/IssueComment.py build/lib/github/RateLimit.py build/lib/github/AuthorizationApplication.py build/lib/github/HookResponse.py build/lib/github/GistHistoryState.py build/lib/github/Consts.py build/lib/github/GistComment.py build/lib/github/License.py build/lib/github/Team.py build/lib/github/Tag.py build/lib/github/InstallationAuthorization.py build/lib/github/ProjectCard.py build/lib/github/InputFileContent.py build/lib/github/GitTree.py build/lib/github/GitignoreTemplate.py build/lib/github/Hook.py build/lib/github/Installation.py build/lib/github/Migration.py build/lib/github/PullRequest.py build/lib/github/CommitStatus.py build/lib/github/GitTag.py build/lib/github/GitCommit.py build/lib/github/Legacy.py build/lib/github/Requester.py build/lib/github/Notification.py build/lib/github/PullRequestMergeStatus.py build/lib/github/GitTreeElement.py build/lib/github/Stargazer.py build/lib/github/IssuePullRequest.py build/lib/github/Plan.py build/lib/github/GitRef.py build/lib/github/Issue.py build/lib/github/HookDescription.py build/lib/github/Referrer.py build/lib/github/Branch.py build/lib/github/Gist.py build/lib/github/Clones.py build/lib/github/Repository.py build/lib/github/RequiredPullRequestReviews.py build/lib/github/Topic.py build/lib/github/NamedUser.py build/lib/github/CommitStats.py build/lib/github/Path.py build/lib/github/AuthenticatedUser.py build/lib/github/NotificationSubject.py build/lib/github/GithubObject.py build/lib/github/CommitComment.py build/lib/github/GithubException.py build/lib/github/RepositoryKey.py build/lib/github/StatsParticipation.py build/lib/github/Invitation.py build/lib/github/Organization.py build/lib/github/BranchProtection.py build/lib/github/StatsContributor.py build/lib/github/Rate.py build/lib/github/Milestone.py build/lib/github/GistFile.py build/lib/github/__init__.py build/lib/github/ContentFile.py build/lib/github/File.py build/lib/github/MainClass.py build/lib/github/GitBlob.py build/lib/github/InputGitAuthor.py build/lib/github/SourceImport.py build/lib/github/Permissions.py build/lib/github/View.py build/lib/github/Comparison.py build/lib/github/RequiredStatusChecks.py build/lib/github/Commit.py build/lib/github/IssueEvent.py build/lib/github/StatsCodeFrequency.py build/lib/github/GitReleaseAsset.py build/lib/github/GitObject.py build/lib/github/Download.py build/lib/github/CommitCombinedStatus.py build/lib/github/GitRelease.py build/lib/github/UserKey.py build/lib/github/PullRequestPart.py build/lib/github/Reaction.py build/lib/github/ProjectColumn.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
Fixing build/lib/github/StatsCommitActivity.py build/lib/github/StatsPunchCard.py build/lib/github/Label.py build/lib/github/Project.py build/lib/github/Authorization.py build/lib/github/PullRequestReview.py build/lib/github/Event.py build/lib/github/PullRequestComment.py build/lib/github/InputGitTreeElement.py build/lib/github/GitAuthor.py build/lib/github/PaginatedList.py build/lib/github/IssueComment.py build/lib/github/RateLimit.py build/lib/github/AuthorizationApplication.py build/lib/github/HookResponse.py build/lib/github/GistHistoryState.py build/lib/github/Consts.py build/lib/github/GistComment.py build/lib/github/License.py build/lib/github/Team.py build/lib/github/Tag.py build/lib/github/InstallationAuthorization.py build/lib/github/ProjectCard.py build/lib/github/InputFileContent.py build/lib/github/GitTree.py build/lib/github/GitignoreTemplate.py build/lib/github/Hook.py build/lib/github/Installation.py build/lib/github/Migration.py build/lib/github/PullRequest.py build/lib/github/CommitStatus.py build/lib/github/GitTag.py build/lib/github/GitCommit.py build/lib/github/Legacy.py build/lib/github/Requester.py build/lib/github/Notification.py build/lib/github/PullRequestMergeStatus.py build/lib/github/GitTreeElement.py build/lib/github/Stargazer.py build/lib/github/IssuePullRequest.py build/lib/github/Plan.py build/lib/github/GitRef.py build/lib/github/Issue.py build/lib/github/HookDescription.py build/lib/github/Referrer.py build/lib/github/Branch.py build/lib/github/Gist.py build/lib/github/Clones.py build/lib/github/Repository.py build/lib/github/RequiredPullRequestReviews.py build/lib/github/Topic.py build/lib/github/NamedUser.py build/lib/github/CommitStats.py build/lib/github/Path.py build/lib/github/AuthenticatedUser.py build/lib/github/NotificationSubject.py build/lib/github/GithubObject.py build/lib/github/CommitComment.py build/lib/github/GithubException.py build/lib/github/RepositoryKey.py build/lib/github/StatsParticipation.py build/lib/github/Invitation.py build/lib/github/Organization.py build/lib/github/BranchProtection.py build/lib/github/StatsContributor.py build/lib/github/Rate.py build/lib/github/Milestone.py build/lib/github/GistFile.py build/lib/github/__init__.py build/lib/github/ContentFile.py build/lib/github/File.py build/lib/github/MainClass.py build/lib/github/GitBlob.py build/lib/github/InputGitAuthor.py build/lib/github/SourceImport.py build/lib/github/Permissions.py build/lib/github/View.py build/lib/github/Comparison.py build/lib/github/RequiredStatusChecks.py build/lib/github/Commit.py build/lib/github/IssueEvent.py build/lib/github/StatsCodeFrequency.py build/lib/github/GitReleaseAsset.py build/lib/github/GitObject.py build/lib/github/Download.py build/lib/github/CommitCombinedStatus.py build/lib/github/GitRelease.py build/lib/github/UserKey.py build/lib/github/PullRequestPart.py build/lib/github/Reaction.py build/lib/github/ProjectColumn.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running egg_info
creating /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info
writing /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/PKG-INFO
writing dependency_links to /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/dependency_links.txt
writing requirements to /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/requires.txt
writing top-level names to /home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/top_level.txt
writing manifest file '/home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/SOURCES.txt'
reading manifest file '/home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file '/home/travis/build/PyGithub/PyGithub/build/lib/PyGithub.egg-info/SOURCES.txt'
running build_ext
testAcceptInvitation (tests.AuthenticatedUser.AuthenticatedUser) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=4>
  self.fd = FakeSockFile()
/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=5>
  self.fd = FakeSockFile()
ok
testAttributes (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithClientIdAndSecret (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateAuthorizationWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateFork (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGist (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateGistWithoutDescription (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateKey (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateMigration (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepository (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testCreateRepositoryWithAutoInit (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEditWithoutArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testEmails (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testFollowing (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetAuthorizations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetKeys (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetMigrations (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotification (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotifications (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetNotificationsWithOtherArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrganizationEvents (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetOrgs (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetRepos (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetReposWithArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetStarredGists (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetTeams (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssues (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testGetUserIssuesWithAllArguments (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testMarkNotificationsAsRead (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testStarring (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testSubscriptions (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testWatching (tests.AuthenticatedUser.AuthenticatedUser) ... ok
testAuthorizationHeaderWithLogin (tests.Authentication.Authentication) ... ok
testAuthorizationHeaderWithToken (tests.Authentication.Authentication) ... ok
testBasicAuthentication (tests.Authentication.Authentication) ... ok
testJWTAuthentication (tests.Authentication.Authentication) ... ok
testNoAuthentication (tests.Authentication.Authentication) ... ok
testOAuthAuthentication (tests.Authentication.Authentication) ... ok
testSecretKeyAuthentication (tests.Authentication.Authentication) ... ok
testUserAgent (tests.Authentication.Authentication) ... ok
testAttributes (tests.Authorization.Authorization) ... ok
testDelete (tests.Authorization.Authorization) ... ok
testEdit (tests.Authorization.Authorization) ... ok
testBadAttributeInClassAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadAttributeTransformation (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadSimpleAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttribute (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInDict (tests.BadAttributes.BadAttributes) ... ok
testBadTransformedAttributeInList (tests.BadAttributes.BadAttributes) ... ok
testIssue195 (tests.BadAttributes.BadAttributes) ... ok
testAddRequiredSignatures (tests.Branch.Branch) ... ok
testAdminEnforcement (tests.Branch.Branch) ... ok
testAttributes (tests.Branch.Branch) ... ok
testEditProtection (tests.Branch.Branch) ... ok
testEditProtectionDismissalUsersWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsAndDismissalUser (tests.Branch.Branch) ... ok
testEditProtectionPushRestrictionsWithUserOwnedBranch (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithTooLargeApprovingReviewCount (tests.Branch.Branch) ... ok
testEditRequiredPullRequestReviewsWithUserBranchAndDismissalUsers (tests.Branch.Branch) ... ok
testEditRequiredStatusChecks (tests.Branch.Branch) ... ok
testEditTeamPushRestrictions (tests.Branch.Branch) ... ok
testEditUserPushRestrictions (tests.Branch.Branch) ... ok
testGetRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveProtection (tests.Branch.Branch) ... ok
testRemovePushRestrictions (tests.Branch.Branch) ... ok
testRemoveRequiredPullRequestReviews (tests.Branch.Branch) ... ok
testRemoveRequiredSignatures (tests.Branch.Branch) ... ok
testRemoveRequiredStatusChecks (tests.Branch.Branch) ... ok
testAttributes (tests.BranchProtection.BranchProtection) ... ok
testAttributes (tests.Commit.Commit) ... ok
testCreateComment (tests.Commit.Commit) ... ok
testCreateCommentOnFileLine (tests.Commit.Commit) ... ok
testCreateCommentOnFilePosition (tests.Commit.Commit) ... ok
testCreateStatusWithAllParameters (tests.Commit.Commit) ... ok
testCreateStatusWithoutOptionalParameters (tests.Commit.Commit) ... ok
testGetComments (tests.Commit.Commit) ... ok
testAttributes (tests.CommitCombinedStatus.CommitCombinedStatus) ... ok
testAttributes (tests.CommitComment.CommitComment) ... ok
testCreateReaction (tests.CommitComment.CommitComment) ... ok
testDelete (tests.CommitComment.CommitComment) ... ok
testEdit (tests.CommitComment.CommitComment) ... ok
testGetReactions (tests.CommitComment.CommitComment) ... ok
testAttributes (tests.CommitStatus.CommitStatus) ... ok
testDidNotUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testDidUpdate (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testUpdateObjectWithoutEtag (tests.ConditionalRequestUpdate.ConditionalRequestUpdate) ... ok
testAttributes (tests.ContentFile.ContentFile) ... ok
testAttributes (tests.Download.Download) ... ok
testDelete (tests.Download.Download) ... ok
testHttp (tests.Enterprise.Enterprise) ... ok
testHttps (tests.Enterprise.Enterprise) ... ok
testLongUrl (tests.Enterprise.Enterprise) ... ok
testSpecificPort (tests.Enterprise.Enterprise) ... ok
testUnknownUrlScheme (tests.Enterprise.Enterprise) ... ok
testBranchEquality (tests.Equality.Equality) ... ok
testUserDifference (tests.Equality.Equality) ... ok
testUserEquality (tests.Equality.Equality) ... ok
testAttributes (tests.Event.Event) ... ok
testBadAuthentication (tests.Exceptions.Exceptions) ... ok
testExceptionPickling (tests.Exceptions.Exceptions) ... ok
testInvalidInput (tests.Exceptions.Exceptions) ... ok
testNonJsonDataReturnedByGithub (tests.Exceptions.Exceptions) ... ok
testUnknownObject (tests.Exceptions.Exceptions) ... ok
testUnknownUser (tests.Exceptions.Exceptions) ... ok
testAllClasses (tests.ExposeAllAttributes.ExposeAllAttributes) ... ok
testAttributes (tests.Gist.Gist) ... ok
testCreateComment (tests.Gist.Gist) ... ok
testDelete (tests.Gist.Gist) ... ok
testDeleteFile (tests.Gist.Gist) ... ok
testEditWithAllParameters (tests.Gist.Gist) ... ok
testEditWithoutParameters (tests.Gist.Gist) ... ok
testFork (tests.Gist.Gist) ... ok
testGetComments (tests.Gist.Gist) ... ok
testRenameFile (tests.Gist.Gist) ... ok
testStarring (tests.Gist.Gist) ... ok
testAttributes (tests.GistComment.GistComment) ... ok
testDelete (tests.GistComment.GistComment) ... ok
testEdit (tests.GistComment.GistComment) ... ok
testAttributes (tests.GitBlob.GitBlob) ... ok
testAttributes (tests.GitCommit.GitCommit) ... ok
testAttributes (tests.GitRef.GitRef) ... ok
testDelete (tests.GitRef.GitRef) ... ok
testEdit (tests.GitRef.GitRef) ... ok
testEditWithForce (tests.GitRef.GitRef) ... ok
testAttributes (tests.GitTag.GitTag) ... ok
testAttributes (tests.GitTree.GitTree) ... ok
testGetEmojis (tests.Github_.Github) ... ok
testGetGists (tests.Github_.Github) ... ok
testGetGistsWithSince (tests.Github_.Github) ... ok
testGetGitignoreTemplate (tests.Github_.Github) ... ok
testGetGitignoreTemplates (tests.Github_.Github) ... ok
testGetHook (tests.Github_.Github) ... ok
testGetHooks (tests.Github_.Github) ... ok
testGetLicense (tests.Github_.Github) ... ok
testGetLicenses (tests.Github_.Github) ... ok
testGetOrganizations (tests.Github_.Github) ... ok
testGetOrganizationsSince (tests.Github_.Github) ... ok
testGetRepoFromFullName (tests.Github_.Github) ... ok
testGetRepoFromId (tests.Github_.Github) ... ok
testGetRepos (tests.Github_.Github) ... ok
testGetReposSince (tests.Github_.Github) ... ok
testGetUsers (tests.Github_.Github) ... ok
testGetUsersSince (tests.Github_.Github) ... ok
testStringOfNotSet (tests.Github_.Github) ... ok
testCreateJWT (tests.GithubIntegration.GithubIntegration) ... /home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py3.7.egg/jwt/api_jwt.py:81: DeprecationWarning: It is strongly recommended that you pass in a value for the "algorithms" argument when calling decode(). This argument will be mandatory in a future version.
  DeprecationWarning
/home/travis/build/PyGithub/PyGithub/.eggs/PyJWT-1.7.1-py3.7.egg/jwt/api_jws.py:145: DeprecationWarning: It is strongly recommended that you pass in a value for the "algorithms" argument when calling decode(). This argument will be mandatory in a future version.
  DeprecationWarning
ok
testGetAccessToken (tests.GithubIntegration.GithubIntegration) ... ok
testAttributes (tests.Hook.Hook) ... ok
testDelete (tests.Hook.Hook) ... ok
testEditWithAllParameters (tests.Hook.Hook) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=7>
  self.fd = FakeSockFile()
ok
testEditWithMinimalParameters (tests.Hook.Hook) ... ok
testPing (tests.Hook.Hook) ... ok
testTest (tests.Hook.Hook) ... ok
testAddAndRemoveAssignees (tests.Issue.Issue) ... ok
testAddAndRemoveLabels (tests.Issue.Issue) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.Issue.Issue) ... ok
testAttributes (tests.Issue.Issue) ... ok
testCreateComment (tests.Issue.Issue) ... ok
testCreateReaction (tests.Issue.Issue) ... ok
testDeleteAndSetLabels (tests.Issue.Issue) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.Issue.Issue) ... ok
testEditResetAssignee (tests.Issue.Issue) ... ok
testEditResetMilestone (tests.Issue.Issue) ... ok
testEditWithAllParameters (tests.Issue.Issue) ... ok
testEditWithoutParameters (tests.Issue.Issue) ... ok
testGetComments (tests.Issue.Issue) ... ok
testGetCommentsSince (tests.Issue.Issue) ... ok
testGetEvents (tests.Issue.Issue) ... ok
testGetLabels (tests.Issue.Issue) ... ok
testGetReactions (tests.Issue.Issue) ... ok
testLock (tests.Issue.Issue) ... Exception in thread Thread-602:
Traceback (most recent call last):
  File "/opt/python/3.7.1/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/opt/python/3.7.1/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py", line 781, in fill_filekind
    status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 214, in __request_callback
    self.__readNextRequest(self.__cnx.verb, self.__cnx.url, self.__cnx.input, self.__cnx.headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 191, in __readNextRequest
    self.__testCase.assertEqual(self.__splitUrl(url), self.__splitUrl(readLine(self.__file)))
  File "/opt/python/3.7.1/lib/python3.7/unittest/case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/opt/python/3.7.1/lib/python3.7/unittest/case.py", line 1045, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/opt/python/3.7.1/lib/python3.7/unittest/case.py", line 1027, in assertSequenceEqual
    self.fail(msg)
  File "/opt/python/3.7.1/lib/python3.7/unittest/case.py", line 680, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: ['/repos/jacquev6/PyGithub/issues/28/lock'] != ['/repos/FFY00/PyGithub/issues/1/lock']

First differing element 0:
'/repos/jacquev6/PyGithub/issues/28/lock'
'/repos/FFY00/PyGithub/issues/1/lock'

- ['/repos/jacquev6/PyGithub/issues/28/lock']
?          ^^^^^^^^                 ^^

+ ['/repos/FFY00/PyGithub/issues/1/lock']
?          ^^^^^                 ^


ERROR
FAIL
testUnlock (tests.Issue.Issue) ... Exception in thread Thread-606:
Traceback (most recent call last):
  File "/opt/python/3.7.1/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/opt/python/3.7.1/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py", line 781, in fill_filekind
    status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 214, in __request_callback
    self.__readNextRequest(self.__cnx.verb, self.__cnx.url, self.__cnx.input, self.__cnx.headers)
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 191, in __readNextRequest
    self.__testCase.assertEqual(self.__splitUrl(url), self.__splitUrl(readLine(self.__file)))
  File "/opt/python/3.7.1/lib/python3.7/unittest/case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/opt/python/3.7.1/lib/python3.7/unittest/case.py", line 1045, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/opt/python/3.7.1/lib/python3.7/unittest/case.py", line 1027, in assertSequenceEqual
    self.fail(msg)
  File "/opt/python/3.7.1/lib/python3.7/unittest/case.py", line 680, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: ['/repos/jacquev6/PyGithub/issues/28/lock'] != ['/repos/FFY00/PyGithub/issues/1/lock']

First differing element 0:
'/repos/jacquev6/PyGithub/issues/28/lock'
'/repos/FFY00/PyGithub/issues/1/lock'

- ['/repos/jacquev6/PyGithub/issues/28/lock']
?          ^^^^^^^^                 ^^

+ ['/repos/FFY00/PyGithub/issues/1/lock']
?          ^^^^^                 ^


ERROR
FAIL
testGetPullWithOrgHeadUser (tests.Issue131.Issue131) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=8>
  self.fd = FakeSockFile()
ok
testGetPullsWithOrgHeadUser (tests.Issue131.Issue131) ... ok
testGetPageWithoutInitialArguments (tests.Issue133.Issue133) ... ok
testGetAuthorizationsFailsWhenAutenticatedThroughOAuth (tests.Issue134.Issue134) ... ok
testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword (tests.Issue134.Issue134) ... ok
testGetOAuthScopesFromHeader (tests.Issue134.Issue134) ... ok
testCompletion (tests.Issue139.Issue139) ... ok
testGetDirContentsThenLazyCompletionOfFile (tests.Issue140.Issue140) ... ok
testGetDirContentsWithRef (tests.Issue140.Issue140) ... ok
testGetFileContents (tests.Issue140.Issue140) ... ok
testDecodeJson (tests.Issue142.Issue142) ... /home/travis/build/PyGithub/PyGithub/tests/Issue142.py:36: ResourceWarning: unclosed <ssl.SSLSocket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.1.228', 44452), raddr=('192.30.253.116', 443)>
  self.assertEqual(github.Github().get_rate_limit().core.limit, 60)
ok
testPaginationWithSecretKeyAuthentication (tests.Issue158.Issue158) ... ok
testGetDirContentsWhithHttpRedirect (tests.Issue174.Issue174) ... ok
testAssignees (tests.Issue214.Issue214) ... ok
testCollaborators (tests.Issue214.Issue214) ... ok
testCreateIssue (tests.Issue214.Issue214) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=9>
  self.fd = FakeSockFile()
ok
testEditIssue (tests.Issue214.Issue214) ... ok
testGetIssues (tests.Issue214.Issue214) ... ok
testIteration (tests.Issue216.Issue216) ... ok
testIteration (tests.Issue278.Issue278) ... ok
testClosedIssues (tests.Issue33.Issue33) ... ok
testOpenIssues (tests.Issue33.Issue33) ... ok
testRepr (tests.Issue494.Issue494) ... ok
testAddLabelToIssue (tests.Issue50.Issue50) ... ok
testCreateIssueWithLabel (tests.Issue50.Issue50) ... ok
testCreateLabel (tests.Issue50.Issue50) ... ok
testGetIssuesWithLabel (tests.Issue50.Issue50) ... ok
testGetLabel (tests.Issue50.Issue50) ... ok
testGetLabels (tests.Issue50.Issue50) ... ok
testIssueGetLabels (tests.Issue50.Issue50) ... ok
testIssueLabels (tests.Issue50.Issue50) ... ok
testRemoveLabelFromIssue (tests.Issue50.Issue50) ... ok
testSetIssueLabels (tests.Issue50.Issue50) ... ok
testConversion (tests.Issue54.Issue54) ... ok
testIssueAsPullRequest (tests.Issue572.Issue572) ... ok
testPullReqeustAsIssue (tests.Issue572.Issue572) ... ok
testIgnoreHttpsFromGithubEnterprise (tests.Issue80.Issue80) ... ok
testIgnoreHttpsFromGithubEnterpriseWithPort (tests.Issue80.Issue80) ... ok
testCreateIssueWithEscapedPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithEscapedPercentInTitle (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInBody (tests.Issue87.Issue87) ... ok
testCreateIssueWithPercentInTitle (tests.Issue87.Issue87) ... ok
testCollaboratorsAffiliation (tests.Issue937.Issue937) ... ok
testReservedPaginatedListAttributePreservation (tests.Issue945.Issue945) ... ok
testAttributes (tests.IssueComment.IssueComment) ... ok
testCreateReaction (tests.IssueComment.IssueComment) ... ok
testDelete (tests.IssueComment.IssueComment) ... ok
testEdit (tests.IssueComment.IssueComment) ... ok
testGetReactions (tests.IssueComment.IssueComment) ... ok
testEvent_added_to_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_assigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_base_ref_changed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_closed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_converted_note_to_issue_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_demilestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_deleted_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_head_ref_restored_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_labeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_locked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_marked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_mentioned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_merged_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_milestoned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_moved_columns_in_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_referenced_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_removed_from_project_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_renamed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_reopened_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_dismissed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_request_removed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_review_requested_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_subscribed_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unassigned_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlabeled_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unlocked_Attributes (tests.IssueEvent.IssueEvent) ... ok
testEvent_unmarked_as_duplicate_Attributes (tests.IssueEvent.IssueEvent) ... ok
testAttributes (tests.Label.Label) ... ok
testDelete (tests.Label.Label) ... ok
testEdit (tests.Label.Label) ... ok
testGetIssues (tests.Repository.LazyRepository) ... ok
testOwner (tests.Repository.LazyRepository) ... ok
testAttributes (tests.License.License) ... ok
testLoggingWithBaseUrl (tests.Logging_.Logging) ... ok
testLoggingWithBasicAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithOAuthAuthentication (tests.Logging_.Logging) ... ok
testLoggingWithoutAuthentication (tests.Logging_.Logging) ... ok
testRenderGithubFlavoredMarkdown (tests.Markdown.Markdown) ... ok
testRenderMarkdown (tests.Markdown.Markdown) ... ok
testAttributes (tests.Migration.Migration) ... ok
testDelete (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenDeleted (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenExported (tests.Migration.Migration) ... ok
testGetArchiveUrlWhenNotExported (tests.Migration.Migration) ... ok
testGetStatus (tests.Migration.Migration) ... ok
testUnlockRepo (tests.Migration.Migration) ... ok
testAttributes (tests.Milestone.Milestone) ... ok
testDelete (tests.Milestone.Milestone) ... ok
testEditWithAllParameters (tests.Milestone.Milestone) ... ok
testEditWithMinimalParameters (tests.Milestone.Milestone) ... ok
testGetLabels (tests.Milestone.Milestone) ... ok
testAttributesOfOtherUser (tests.NamedUser.NamedUser) ... ok
testAttributesOfSelf (tests.NamedUser.NamedUser) ... ok
testGetEvents (tests.NamedUser.NamedUser) ... ok
testGetFollowers (tests.NamedUser.NamedUser) ... ok
testGetFollowing (tests.NamedUser.NamedUser) ... ok
testGetGists (tests.NamedUser.NamedUser) ... ok
testGetKeys (tests.NamedUser.NamedUser) ... ok
testGetOrgs (tests.NamedUser.NamedUser) ... ok
testGetPublicEvents (tests.NamedUser.NamedUser) ... ok
testGetPublicReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetReceivedEvents (tests.NamedUser.NamedUser) ... ok
testGetRepo (tests.NamedUser.NamedUser) ... ok
testGetRepos (tests.NamedUser.NamedUser) ... ok
testGetReposWithType (tests.NamedUser.NamedUser) ... ok
testGetStarred (tests.NamedUser.NamedUser) ... ok
testGetSubscriptions (tests.NamedUser.NamedUser) ... ok
testGetWatched (tests.NamedUser.NamedUser) ... ok
testHasInFollowing (tests.NamedUser.NamedUser) ... ok
testUserEquality (tests.NamedUser.NamedUser) ... ok
testMarkAsRead (tests.Notification.Notification) ... ok
testAddMembersAdminRole (tests.Organization.Organization) ... ok
testAddMembersDefaultRole (tests.Organization.Organization) ... ok
testAttributes (tests.Organization.Organization) ... ok
testCreateFork (tests.Organization.Organization) ... ok
testCreateHookWithAllParameters (tests.Organization.Organization) ... ok
testCreateHookWithMinimalParameters (tests.Organization.Organization) ... ok
testCreateMigration (tests.Organization.Organization) ... ok
testCreateRepoWithAllArguments (tests.Organization.Organization) ... ok
testCreateRepoWithMinimalArguments (tests.Organization.Organization) ... ok
testCreateRepositoryWithAutoInit (tests.Organization.Organization) ... ok
testCreateTeam (tests.Organization.Organization) ... ok
testCreateTeamWithAllArguments (tests.Organization.Organization) ... ok
testDeleteHook (tests.Organization.Organization) ... ok
testEditHookWithAllParameters (tests.Organization.Organization) ... ok
testEditHookWithMinimalParameters (tests.Organization.Organization) ... ok
testEditWithAllArguments (tests.Organization.Organization) ... ok
testEditWithoutArguments (tests.Organization.Organization) ... ok
testGetEvents (tests.Organization.Organization) ... ok
testGetHooks (tests.Organization.Organization) ... ok
testGetIssues (tests.Organization.Organization) ... ok
testGetIssuesWithAllArguments (tests.Organization.Organization) ... ok
testGetMembers (tests.Organization.Organization) ... ok
testGetMigrations (tests.Organization.Organization) ... ok
testGetOutsideCollaborators (tests.Organization.Organization) ... ok
testGetPublicMembers (tests.Organization.Organization) ... ok
testGetRepos (tests.Organization.Organization) ... ok
testGetReposWithType (tests.Organization.Organization) ... ok
testGetTeams (tests.Organization.Organization) ... ok
testInviteUserAsNonOwner (tests.Organization.Organization) ... ok
testInviteUserByEmail (tests.Organization.Organization) ... ok
testInviteUserByName (tests.Organization.Organization) ... ok
testInviteUserWithBoth (tests.Organization.Organization) ... ok
testInviteUserWithNeither (tests.Organization.Organization) ... ok
testInviteUserWithRoleAndTeam (tests.Organization.Organization) ... ok
testMembers (tests.Organization.Organization) ... ok
testOutsideCollaborators (tests.Organization.Organization) ... ok
testPublicMembers (tests.Organization.Organization) ... ok
testHasInMembers (tests.OrganizationHasInMembers.OrganizationHasInMembers) ... ok
testCustomPerPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithGetPage (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams (tests.PaginatedList.PaginatedList) ... ok
testCustomPerPageWithNoUrlParams2 (tests.PaginatedList.PaginatedList) ... ok
testGetFirstPage (tests.PaginatedList.PaginatedList) ... ok
testGetThirdPage (tests.PaginatedList.PaginatedList) ... ok
testGettingTheReversedListDoesNotModifyTheOriginalList (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingAfterIteration (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testIntIndexingInThirdPage (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIteration (tests.PaginatedList.PaginatedList) ... ok
testInterruptedIterationInSlice (tests.PaginatedList.PaginatedList) ... ok
testIteration (tests.PaginatedList.PaginatedList) ... ok
testNoFirstPage (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationSupportsIterator (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithMultiplePages (tests.PaginatedList.PaginatedList) ... ok
testReversedIterationWithSinglePage (tests.PaginatedList.PaginatedList) ... ok
testSeveralIterations (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingInFirstPage (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilEnd (tests.PaginatedList.PaginatedList) ... ok
testSliceIndexingUntilFourthPage (tests.PaginatedList.PaginatedList) ... ok
testLoad (tests.Persistence.Persistence) ... ok
testLoadAndUpdate (tests.Persistence.Persistence) ... ok
testCreateCardFromIssue (tests.Project.Project) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=10>
  self.fd = FakeSockFile()
/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=11>
  self.fd = FakeSockFile()
ok
testCreateCardWithNote (tests.Project.Project) ... ok
testCreateColumn (tests.Project.Project) ... ok
testGetAllProjectCards (tests.Project.Project) ... ok
testGetOrganizationProjects (tests.Project.Project) ... ok
testGetProject (tests.Project.Project) ... /home/travis/build/PyGithub/PyGithub/build/lib/github/GithubObject.py:55: ResourceWarning: unclosed file <_io.BufferedReader name='/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Persistence.setUp.txt'>
  self.value = value
/home/travis/build/PyGithub/PyGithub/build/lib/github/GithubObject.py:55: ResourceWarning: unclosed file <_io.BufferedReader name='/home/travis/build/PyGithub/PyGithub/tests/ReplayData/Persistence.testLoadAndUpdate.txt'>
  self.value = value
ok
testGetProjectCardContent (tests.Project.Project) ... ok
testGetRepositoryProjects (tests.Project.Project) ... ok
testProjectAttributes (tests.Project.Project) ... ok
testProjectCardAttributes (tests.Project.Project) ... ok
testProjectColumnAttributes (tests.Project.Project) ... ok
testAddAndRemoveLabels (tests.PullRequest.PullRequest) ... ok
testAddAndRemoveLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequest.PullRequest) ... ok
testAttributesIssue256 (tests.PullRequest.PullRequest) ... ok
testCreateComment (tests.PullRequest.PullRequest) ... ok
testCreateIssueComment (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabels (tests.PullRequest.PullRequest) ... ok
testDeleteAndSetLabelsWithStringArguments (tests.PullRequest.PullRequest) ... ok
testEditWithAllArguments (tests.PullRequest.PullRequest) ... ok
testEditWithoutArguments (tests.PullRequest.PullRequest) ... ok
testGetComments (tests.PullRequest.PullRequest) ... ok
testGetCommits (tests.PullRequest.PullRequest) ... ok
testGetFiles (tests.PullRequest.PullRequest) ... ok
testGetIssueComment (tests.PullRequest.PullRequest) ... ok
testGetIssueComments (tests.PullRequest.PullRequest) ... ok
testGetLabels (tests.PullRequest.PullRequest) ... ok
testGetReviewComments (tests.PullRequest.PullRequest) ... ok
testMerge (tests.PullRequest.PullRequest) ... ok
testMergeWithCommitMessage (tests.PullRequest.PullRequest) ... ok
testReviewRequests (tests.PullRequest.PullRequest) ... ok
testAttributes (tests.PullRequestComment.PullRequestComment) ... ok
testCreateReaction (tests.PullRequestComment.PullRequestComment) ... ok
testDelete (tests.PullRequestComment.PullRequestComment) ... ok
testEdit (tests.PullRequestComment.PullRequestComment) ... ok
testGetReactions (tests.PullRequestComment.PullRequestComment) ... ok
testAttributes (tests.PullRequestFile.PullRequestFile) ... ok
testAttributes (tests.PullRequestReview.PullRequestReview) ... ok
testDismiss (tests.PullRequestReview.PullRequestReview) ... ok
testGetRateLimit (tests.RateLimiting.RateLimiting) ... ok
testRateLimiting (tests.RateLimiting.RateLimiting) ... ok
testResetTime (tests.RateLimiting.RateLimiting) ... ok
testCompletedObject (tests.RawData.RawData) ... ok
testCreateObjectFromRawData (tests.RawData.RawData) ... ok
testNonCompletableObject (tests.RawData.RawData) ... ok
testNotYetCompletedObject (tests.RawData.RawData) ... ok
testAttributes (tests.Reaction.Reaction) ... ok
testDelete (tests.Reaction.Reaction) ... ok
testAttributes (tests.GitRelease.Release) ... ok
testCreateGitTagAndRelease (tests.GitRelease.Release) ... ok
testDelete (tests.GitRelease.Release) ... ok
testGetAsset (tests.GitRelease.Release) ... ok
testGetAssets (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=12>
  self.fd = FakeSockFile()
ok
testGetLatestRelease (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=13>
  self.fd = FakeSockFile()
ok
testGetRelease (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=14>
  self.fd = FakeSockFile()
ok
testUpdate (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=15>
  self.fd = FakeSockFile()
/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=16>
  self.fd = FakeSockFile()
ok
testUploadAsset (tests.GitRelease.Release) ... /home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=17>
  self.fd = FakeSockFile()
/home/travis/build/PyGithub/PyGithub/.eggs/httpretty-0.9.6-py3.7.egg/httpretty/core.py:495: ResourceWarning: unclosed file <_io.BufferedRandom name=18>
  self.fd = FakeSockFile()
ok
testAttributes (tests.GitReleaseAsset.ReleaseAsset) ... ok
testDelete (tests.GitReleaseAsset.ReleaseAsset) ... ok
testUpdate (tests.GitReleaseAsset.ReleaseAsset) ... ok
testAttributes (tests.RepositoryKey.RepositoryKey) ... ok
testDelete (tests.RepositoryKey.RepositoryKey) ... ok
testAttributes (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testOrganizationOwnedTeam (tests.RequiredPullRequestReviews.RequiredPullRequestReviews) ... ok
testAttributes (tests.RequiredStatusChecks.RequiredStatusChecks) ... ok
testRaisesRetryErrorAfterMaxRetries (tests.Retry.Retry) ... ok
testReturnsRepoAfter1Retry (tests.Retry.Retry) ... ok
testReturnsRepoAfter3Retries (tests.Retry.Retry) ... ok
testShouldNotRetryWhenStatusNotOnList (tests.Retry.Retry) ... ok
testGetPageOnSearchUsers (tests.Search.Search) ... ok
testPaginateSearchCommits (tests.Search.Search) ... ok
testPaginateSearchTopics (tests.Search.Search) ... ok
testPaginateSearchUsers (tests.Search.Search) ... ok
testSearchCode (tests.Search.Search) ... ok
testSearchHighlightingCode (tests.Search.Search) ... ok
testSearchIssues (tests.Search.Search) ... ok
testSearchRepos (tests.Search.Search) ... ok
testSearchReposWithNoResults (tests.Search.Search) ... ok
testSearchTopics (tests.Search.Search) ... ok
testSearchUsers (tests.Search.Search) ... ok
testUrlquotingOfQualifiers (tests.Search.Search) ... ok
testUrlquotingOfQuery (tests.Search.Search) ... ok
testAttributes (tests.SourceImport.SourceImport) ... ok
testAuthenticatedRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testBadCredentials (tests.Exceptions.SpecificExceptions) ... ok
testBadUserAgent (tests.Exceptions.SpecificExceptions) ... ok
testRateLimitExceeded (tests.Exceptions.SpecificExceptions) ... ok
testUnknownObject (tests.Exceptions.SpecificExceptions) ... ok
testAttributes (tests.Tag.Tag) ... ok
testAttributes (tests.Team.Team) ... ok
testDelete (tests.Team.Team) ... ok
testEditWithAllArguments (tests.Team.Team) ... ok
testEditWithoutArguments (tests.Team.Team) ... ok
testMembers (tests.Team.Team) ... ok
testRepoPermission (tests.Team.Team) ... ok
testRepos (tests.Team.Team) ... ok
testGetClones (tests.Traffic.Traffic) ... ok
testGetPaths (tests.Traffic.Traffic) ... ok
testGetReferrers (tests.Traffic.Traffic) ... ok
testGetViews (tests.Traffic.Traffic) ... ok
testAttributes (tests.UserKey.UserKey) ... ok
testDelete (tests.UserKey.UserKey) ... ok

======================================================================
ERROR: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 265, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/util/retry.py", line 368, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 265, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 97, in testLock
    self.issue.lock("resolved")
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Issue.py", line 374, in lock
    headers={'Accept': Consts.mediaTypeLockReasonPreview}
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 412, in __requestRaw
    response = cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 235, in getresponse
    response = self.__cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 114, in getresponse
    r = verb(url, headers=self.headers, data=self.input, timeout=self.timeout, verify=self.verify, allow_redirects=False)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/sessions.py", line 593, in put
    return self.request('PUT', url, data=data, **kwargs)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

======================================================================
ERROR: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 265, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/util/retry.py", line 368, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/opt/python/3.7.1/lib/python3.7/http/client.py", line 265, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Issue.py", line 100, in testUnlock
    self.issue.unlock()
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Issue.py", line 384, in unlock
    self.url + "/lock"
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 335, in requestJson
    return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 388, in __requestEncode
    status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 412, in __requestRaw
    response = cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 235, in getresponse
    response = self.__cnx.getresponse()
  File "/home/travis/build/PyGithub/PyGithub/build/lib/github/Requester.py", line 114, in getresponse
    r = verb(url, headers=self.headers, data=self.input, timeout=self.timeout, verify=self.verify, allow_redirects=False)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/sessions.py", line 615, in delete
    return self.request('DELETE', url, **kwargs)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

======================================================================
FAIL: testLock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
AssertionError: "{'Content-Type': 'application/json', 'Ac[122 chars]on'}" != ''
- {'Content-Type': 'application/json', 'Accept': 'application/vnd.github.sailor-v-preview+json', 'Authorization': 'Bearer jwt_removed', 'User-Agent': 'PyGithub/Python'}
+ 


======================================================================
FAIL: testUnlock (tests.Issue.Issue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 302, in tearDown
    self.__closeReplayFileIfNeeded()
  File "/home/travis/build/PyGithub/PyGithub/tests/Framework.py", line 319, in __closeReplayFileIfNeeded
    self.assertEqual(readLine(self.__file), "")
AssertionError: "{'Authorization': 'Bearer jwt_removed', 'User-Agent': 'PyGithub/Python'}" != ''
- {'Authorization': 'Bearer jwt_removed', 'User-Agent': 'PyGithub/Python'}
+ 


----------------------------------------------------------------------
Ran 463 tests in 20.440s

FAILED (failures=2, errors=2)
Test failed: <unittest.runner.TextTestResult run=463 errors=2 failures=2>
Coverage.py warning: Module github/tests was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)
error: Test failed: <unittest.runner.TextTestResult run=463 errors=2 failures=2>
TravisBuddy Request Identifier: 81fb88f0-6d1f-11e9-89bd-f3dff5510ee0

@sfdye sfdye merged commit ec7bbcf into PyGithub:master May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants