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
This commit is contained in:
J. Peter Mugaas
2018-07-31 04:29:12 -04:00
committed by Алексей
parent f0d09968b6
commit 4d9ec2ac59
23 changed files with 1948 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
Description: Fix some Py2 syntax errors
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2015-07-08
--- python-linecache2-1.0.0.orig/linecache2/tests/inspect_fodder2.py
+++ python-linecache2-1.0.0/linecache2/tests/inspect_fodder2.py
@@ -99,15 +99,15 @@ def f():
method_in_dynamic_class = f().g
#line 101
-def keyworded(*arg1, arg2=1):
+def keyworded(arg1, arg2=1):
pass
#line 105
-def annotated(arg1: list):
+def annotated(arg1):
pass
#line 109
-def keyword_only_arg(*, arg):
+def keyword_only_arg(arg):
pass
from functools import wraps