<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/test/test_util.py, branch 3.0.8</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Replace assert_equal with assertEqual</title>
<updated>2020-02-16T22:17:06+00:00</updated>
<author>
<name>Harmon</name>
<email>Harmon758@gmail.com</email>
</author>
<published>2020-02-16T21:48:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=ab361cfecf9c0472f9682d5d18c405bd90ddf6d7'/>
<id>ab361cfecf9c0472f9682d5d18c405bd90ddf6d7</id>
<content type='text'>
Also change TestActor to subclass TestBase rather than object and create and use base TestCommitSerialization class for assert_commit_serialization method
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also change TestActor to subclass TestBase rather than object and create and use base TestCommitSerialization class for assert_commit_serialization method
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace deprecated failUnlessRaises alias with assertRaises in tests</title>
<updated>2020-02-16T19:52:26+00:00</updated>
<author>
<name>Harmon</name>
<email>Harmon758@gmail.com</email>
</author>
<published>2020-02-16T19:46:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=7cf0ca8b94dc815598e354d17d87ca77f499cae6'/>
<id>7cf0ca8b94dc815598e354d17d87ca77f499cae6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove and replace compat.string_types</title>
<updated>2020-02-08T02:55:50+00:00</updated>
<author>
<name>Harmon</name>
<email>Harmon758@gmail.com</email>
</author>
<published>2020-02-07T12:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=768b9fffa58e82d6aa1f799bd5caebede9c9231b'/>
<id>768b9fffa58e82d6aa1f799bd5caebede9c9231b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix pickling of tzoffset</title>
<updated>2019-10-19T11:20:43+00:00</updated>
<author>
<name>Uwe L. Korn</name>
<email>uwelk@xhochy.com</email>
</author>
<published>2019-10-19T09:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=6fd090293792884f5a0d05f69109da1c970c3cab'/>
<id>6fd090293792884f5a0d05f69109da1c970c3cab</id>
<content type='text'>
Fixes #650
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #650
</pre>
</div>
</content>
</entry>
<entry>
<title>Satisfy flake8</title>
<updated>2019-07-06T02:48:48+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sthiel@thoughtworks.com</email>
</author>
<published>2019-07-06T02:48:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=33f2526ba04997569f4cf88ad263a3005220885e'/>
<id>33f2526ba04997569f4cf88ad263a3005220885e</id>
<content type='text'>
Oh how much I dislike linters that don't format, and a lack of
formatter integration into my IDE :(.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Oh how much I dislike linters that don't format, and a lack of
formatter integration into my IDE :(.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix regex to support empty email addresses i.e. 'name &lt;&gt;'</title>
<updated>2019-07-06T02:41:42+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sthiel@thoughtworks.com</email>
</author>
<published>2019-07-06T02:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c282315f0b533c3790494767d1da23aaa9d360b9'/>
<id>c282315f0b533c3790494767d1da23aaa9d360b9</id>
<content type='text'>
Fixes #833
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #833
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid from_timestamp() function to raise an exception when the offset is greater or lower than 24 hours.</title>
<updated>2018-04-04T08:15:48+00:00</updated>
<author>
<name>ishepard</name>
<email>spadini.davide@gmail.com</email>
</author>
<published>2018-04-04T08:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c6e0a6cb5c70efd0899f620f83eeebcc464be05c'/>
<id>c6e0a6cb5c70efd0899f620f83eeebcc464be05c</id>
<content type='text'>
Add tests that exercise the new behaviour
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add tests that exercise the new behaviour
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop support for EOL Python 2.6</title>
<updated>2018-03-18T20:26:04+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2018-03-18T10:06:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=929f3e1e1b664ed8cdef90a40c96804edfd08d59'/>
<id>929f3e1e1b664ed8cdef90a40c96804edfd08d59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>RF: primarily flake8 lints + minor RF to reduce duplication in PATHEXT</title>
<updated>2017-11-28T01:35:19+00:00</updated>
<author>
<name>Yaroslav Halchenko</name>
<email>debian@onerussian.com</email>
</author>
<published>2017-11-28T01:35:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=6ee08fce6ec508fdc6e577e3e507b342d048fa16'/>
<id>6ee08fce6ec508fdc6e577e3e507b342d048fa16</id>
<content type='text'>
I did keep some "bare" except with catch all Exception: , while tried to disable
flake8 complaints where clearly all exceptions are to be catched
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I did keep some "bare" except with catch all Exception: , while tried to disable
flake8 complaints where clearly all exceptions are to be catched
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes to support Python 2.6 again.</title>
<updated>2016-10-24T14:02:31+00:00</updated>
<author>
<name>Andreas Maier</name>
<email>maiera@de.ibm.com</email>
</author>
<published>2016-10-21T09:11:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=f3d5df2ce3addd9e9e1863f4f33665a16b415b71'/>
<id>f3d5df2ce3addd9e9e1863f4f33665a16b415b71</id>
<content type='text'>
Details:

- Added Python 2.6 again to .travis.yml (it was removed in commit 4486bcb).

- Replaced the use of dictionary comprehensions in `git/cmd.py` around
  line 800 with the code before that change (in commit 25a2ebf).
  Reason: dict comprehensions were introduced only in Python 2.7.

- Changed the import source for `SkipTest` and `skipIf` from `unittest.case`
  to first trying `unittest` and upon ImportError from `unittest2`.
  This was done in `git/util.py` and in several testcases.
  Reason: `SkipTest` and `skipIf` were introduced to unittest only
  in Python 2.7, and `unittest2` is a backport of `unittest` additions
  to Python 2.6.

- In git/test/lib/helper.py, fixed the definition of `assertRaisesRegex`
  to work on py26.

- For Python 2.6, added the `unittest2` dependency to `requirements.txt`
  and changed `.travis.yml` to install `unittest2`. Because git/util.py
  uses SkipTest from unittest/unittest2, the dependency could not be added
  to `test-requirements.txt`.

- Fixed an assertion in `git/test/test_index.py` to also allow
  a Python 2.6 specific exception message.

- In `is_cygwin_git()` in `git/util.py`, replaced `check_output()` with
  `Popen()`. It was added in Python 2.7.

- Enabled Python 2.6 for Windows:

  - Added Python 2.6 for MINGW in .appveyor.yml.

  - When defining `PROC_CREATIONFLAGS` in `git/cmd.py`, made use of certain
    win32 and subprocess flags that were introduced in Python 2.7, dependent
    on whether we run on Python 2.7 or higher.

  - In `AutoInterrupt.__del__()` in `git/cmd.py`, allowed for `os` not having
    `kill()`. `os.kill()` was added for Windows in Python 2.7 (For Linux, it
    existed in Python 2.6 already).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Details:

- Added Python 2.6 again to .travis.yml (it was removed in commit 4486bcb).

- Replaced the use of dictionary comprehensions in `git/cmd.py` around
  line 800 with the code before that change (in commit 25a2ebf).
  Reason: dict comprehensions were introduced only in Python 2.7.

- Changed the import source for `SkipTest` and `skipIf` from `unittest.case`
  to first trying `unittest` and upon ImportError from `unittest2`.
  This was done in `git/util.py` and in several testcases.
  Reason: `SkipTest` and `skipIf` were introduced to unittest only
  in Python 2.7, and `unittest2` is a backport of `unittest` additions
  to Python 2.6.

- In git/test/lib/helper.py, fixed the definition of `assertRaisesRegex`
  to work on py26.

- For Python 2.6, added the `unittest2` dependency to `requirements.txt`
  and changed `.travis.yml` to install `unittest2`. Because git/util.py
  uses SkipTest from unittest/unittest2, the dependency could not be added
  to `test-requirements.txt`.

- Fixed an assertion in `git/test/test_index.py` to also allow
  a Python 2.6 specific exception message.

- In `is_cygwin_git()` in `git/util.py`, replaced `check_output()` with
  `Popen()`. It was added in Python 2.7.

- Enabled Python 2.6 for Windows:

  - Added Python 2.6 for MINGW in .appveyor.yml.

  - When defining `PROC_CREATIONFLAGS` in `git/cmd.py`, made use of certain
    win32 and subprocess flags that were introduced in Python 2.7, dependent
    on whether we run on Python 2.7 or higher.

  - In `AutoInterrupt.__del__()` in `git/cmd.py`, allowed for `os` not having
    `kill()`. `os.kill()` was added for Windows in Python 2.7 (For Linux, it
    existed in Python 2.6 already).
</pre>
</div>
</content>
</entry>
</feed>
