contextlib2 linecache2 traceback2 unittest2 python-extras fixtures pyrsistent subunit testscenerios testtools
34 lines
748 B
Diff
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
|
|
|