lp:~zyga/testtools/use-versiontools

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp:~zyga/testtools/use-versiontools
Only Zygmunt Krynicki can upload to this branch. If you are Zygmunt Krynicki please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Zygmunt Krynicki
Project:
testtools
Status:
Development

Recent revisions

246. By Zygmunt Krynicki

Use versiontools instead of hand-made solution.

Versiontools (http://versiontools.rtfd.org) is centralized system that handles
formatting __version__ appropriately, according to PEP386. Versiontools
includes support for interrogating the version control system, such as bzr, git
or mercurial to retrieve the revision or other commit identifier and append
that to the version string in certain situations.

The biggest advantage is that this patch makes testtools work on python3.
Currently versiontools requires bzrlib to be importable to work, so without bzr
available inside your virtualenv (or system installation) you will not get
proper versioning of individual development snapshots (they will be just
labeled 1.2.3.dev instead of 1.2.3.dev{revno}). This requirement will go away
in versiontools 1.10 with shell fall-back as bzr is not coming to python3
anytime soon. This patch also requires setuptools to work properly (as
versiontools depends on setup_requires). This requirement will also go away in
versiontools 1.9, or as soon as
https://code.launchpad.net/~zkrynicki/versiontools/1.9/+merge/91568 lands in
trunk.

245. By Jonathan Lange

Restore private method that subunit relies on.

244. By Jonathan Lange

Make the tests pass on Python 3

243. By Jonathan Lange

Merge release branch:

242. By Jonathan Lange

Move stack trace logic to TracebackContent, simplify the way we handle verbose tracebacks.
FullStackRunTest no longer aborts the test run if a test raises an error.

241. By Jonathan Lange

Asynchronous tests no longer hang when run with triial.

240. By Jonathan Lange

assertRaises includes the function name in its error message.

239. By Robert Collins

``ThreadsafeForwardingResult`` no longer includes semaphore acquisition time
in the test duration (for implicitly timed test runs).
(Robert Collins, #914362)

238. By Robert Collins

``MultiTestResult`` supports the ``tags`` method.
(Graham Binns, Francesco Banconi, #914279)

``ThreadsafeForwardingResult`` supports the ``tags`` method.
(Graham Binns, Francesco Banconi, #914279)

237. By Jonathan Lange

Test suite fixes for Python 3 and pypy

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~testtools-committers/testtools/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers