Files
MINGW-packages/mingw-w64-python2-unittest2/9badd4cde9ab.patch
J. Peter Mugaas 4d9ec2ac59 A bundle of python packages I was working on. These are checked in together since they depend upon eachother. (#4129)
contextlib2
linecache2
traceback2
unittest2
python-extras
fixtures
pyrsistent
subunit
testscenerios
testtools
2018-07-31 11:29:12 +03:00

34 lines
748 B
Diff

# HG changeset patch
# User Robert Collins <rbtcollins@hp.com>
# Date 1435721195 -43200
# Node ID 9badd4cde9ab5f70eff42777a00c038192a5541f
# Parent 4174bab908081fa41252f459dbc713246662f98b
Use traceback2 everywhere.
diff --git a/README.txt b/README.txt
--- a/README.txt
+++ b/README.txt
@@ -167,6 +167,8 @@ prevents it being fixed in unittest2.
CHANGELOG
=========
+- Use traceback2 consistently to get consistent output across all Pythons.
+
2015-06-20 - 1.1.0
------------------
diff --git a/unittest2/loader.py b/unittest2/loader.py
--- a/unittest2/loader.py
+++ b/unittest2/loader.py
@@ -3,7 +3,7 @@
import os
import re
import sys
-import traceback
+import traceback2 as traceback
import types
import unittest
import warnings