15
0
Files
python-testfixtures/python383.patch

23 lines
749 B
Diff
Raw Normal View History

From 9684e9816c39377f5cc08819dee711b2255fb2d3 Mon Sep 17 00:00:00 2001
From: Chris Withers <chris@simplistix.co.uk>
Date: Sun, 17 May 2020 08:01:57 +0100
Subject: [PATCH] fix for python 3.8.3
---
testfixtures/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testfixtures/utils.py b/testfixtures/utils.py
index 9584db3..00aa9da 100644
--- a/testfixtures/utils.py
+++ b/testfixtures/utils.py
@@ -68,7 +68,7 @@ def patched(*args, **keywargs):
to_add = len(getargspec(func).args[len(args):])
added = 0
- exc_info = tuple()
+ exc_info = (None, None, None)
try:
for patching in patched.patchings:
arg = patching.__enter__()