summarylogtreecommitdiffstats
path: root/fix-test.patch
diff options
context:
space:
mode:
authorGuillaume Horel2020-05-10 22:00:21 -0400
committerGuillaume Horel2020-05-10 22:00:21 -0400
commit3e71b109e0a8d6cfbea9ae57f32188fdf9b0ace2 (patch)
treecafb710ccebacbb13f0e9c5dd84c5679d85cf395 /fix-test.patch
parenta499dcd7c462d60d8b2f26510117287cdadcbfe2 (diff)
downloadaur-python-asyncpg.tar.gz
version bump
Diffstat (limited to 'fix-test.patch')
-rw-r--r--fix-test.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/fix-test.patch b/fix-test.patch
new file mode 100644
index 000000000000..0f0c6ba16974
--- /dev/null
+++ b/fix-test.patch
@@ -0,0 +1,14 @@
+diff -urN asyncpg-0.20.1-orig/tests/test_pool.py asyncpg-0.20.1/tests/test_pool.py
+--- asyncpg-0.20.1-orig/tests/test_pool.py 2020-05-10 21:55:48.209528164 -0400
++++ asyncpg-0.20.1/tests/test_pool.py 2020-05-10 21:56:23.459966715 -0400
+@@ -242,8 +242,8 @@
+
+ with self.assertRaisesRegex(
+ asyncpg.InterfaceError,
+- r'cannot call Cursor\.forward.*released '
+- r'back to the pool'.format(meth=meth)):
++ r'cannot call Cursor\.{meth}.*released '
++ r'back to the pool'.format(meth='forward')):
+
+ c.forward(1)
+