X-Git-Url: http://git.samba.org/samba.git/?p=nivanova%2Fsamba-autobuild%2F.git;a=blobdiff_plain;f=lib%2Ftesttools%2Ftesttools%2F_compat3x.py;fp=lib%2Ftesttools%2Ftesttools%2F_compat3x.py;h=0000000000000000000000000000000000000000;hp=7a482c14b4317d302d986ee9e1ade2914ee7940e;hb=8918481a8415c76b83230067162a53935a4cce4a;hpb=da04eb9c3aced4ec62c6cda54061a303d608c016 diff --git a/lib/testtools/testtools/_compat3x.py b/lib/testtools/testtools/_compat3x.py deleted file mode 100644 index 7a482c14b43..00000000000 --- a/lib/testtools/testtools/_compat3x.py +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2011 testtools developers. See LICENSE for details. - -"""Compatibility helpers that are valid syntax in Python 3.x. - -Only add things here if they *only* work in Python 3.x or are Python 3 -alternatives to things that *only* work in Python 2.x. -""" - -__all__ = [ - 'reraise', - ] - - -def reraise(exc_class, exc_obj, exc_tb, _marker=object()): - """Re-raise an exception received from sys.exc_info() or similar.""" - raise exc_obj.with_traceback(exc_tb) -