Commit Graph
20 Commits
Author SHA1 Message Date
Hugo 6735be4933 Drop support for EOL Python 2.5-2.6 and 3.2-3.3 (#674) 2017-12-20 22:52:00 -08:00
Peter Buckley cb0cf0a680 update doc url everywhere (#420) 2016-07-12 16:38:02 -04:00
humbug 8f8b455a35 Fix for pickling exception when deserializing GithubException.
See: https://bugs.python.org/issue9400

"Because CalledProcessError extends PyExc_BaseException, which defines a __reduce__ method, that special method cause the pickle load to call the exception type's __init__ method with packed self.args as arguments. So if a subclass of "Exception" needs to behave correctly in pickling, it should make self.args meet its __init__ method's function signature. "
2016-04-04 16:47:43 -07:00
Vincent Jacques abca7a026e pep8
This is strange, maybe Cygwin's version is stricter.
No time to investigate.
2014-05-04 12:54:05 -07:00
Vincent Jacques ae3455c8d7 Add test coverage for #182 2013-08-20 23:17:19 +02:00
Vincent Jacques 06a3d87098 Change source file header format 2013-07-13 19:03:53 +02:00
Vincent Jacques db2a9db721 Add two new types of exceptions (issue #152) 2013-05-17 14:27:17 +02:00
Vincent Jacques 73f9ae8f21 Merge branch 'topic/SpecificExceptions' into develop 2013-04-22 22:23:04 +02:00
Vincent Jacques db5560bd65 Add a script to check copyrights with git log. And fix copyrights. 2013-03-29 16:54:15 +01:00
Vincent Jacques c1d747a913 Refactor tests
We don't need to inspect the exception, so we can use
unittest.TestCase.assertRaises
2013-03-29 13:13:44 +01:00
Vincent Jacques 0bc368973a Raise a specific exception for non-existing objects (issue #152) 2013-03-29 13:10:59 +01:00
Vincent Jacques 7b3e4c15ed Raise a specific exception for bad credentials (issue #152) 2013-03-29 13:01:06 +01:00
Vincent Jacques 1c47be4e89 Document #pragma no covers (Issue #154) 2013-03-28 21:50:17 +01:00
Vincent Jacques 7a9c0b916c Fix tests on Python 3.3 (issue #149)
The output order of dicts has changed
2013-03-21 23:18:21 +01:00
Vincent Jacques 7a415fda66 Change home page 2013-02-16 21:19:49 +01:00
Vincent Jacques d8e50c7937 Small fixes => tests pass after 2to3 2012-11-21 20:30:35 +01:00
Zearin 4c6a70c24a Add encoding comment to source files
This is a minor thing.  It’s a convention, not a rule (obviously)—but it’s also a best practice.

Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
2012-11-01 11:43:56 -04:00
Vincent Jacques ca1e799826 Restore measure of test coverage 2012-10-28 15:53:03 +01:00
Vincent Jacques 531c3f2d32 Improve comformance to pep8 (+dos2unix)
PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
2012-09-17 20:37:22 +02:00
Vincent Jacques aadb06753c On the way to publish tests (issue #86)
This commit only moves stuff around.
Modifications will be done in next commit.
2012-09-16 20:07:33 +02:00