15
0
forked from pool/python-apsw
Files
python-apsw/0002-Skip-one-test-on-python3.8.patch
Tomáš Chvátal 240ffd9795 - Add more py3.8 patches:
* 0001-py3.8-avoid-invalid-escapes.patch
  * 0002-Skip-one-test-on-python3.8.patch
- Remove patch obsoleted by above python38.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=13
2019-09-10 13:41:49 +00:00

24 lines
890 B
Diff

From 8085e786afa0661418a8cefe5a1eaf7a535a5089 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Fri, 19 Jul 2019 15:36:40 +0200
Subject: [PATCH 2/2] Skip one test on python3.8
---
tests.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests.py b/tests.py
index 5c46ebaab3..42d9a257d7 100644
--- a/tests.py
+++ b/tests.py
@@ -6300,7 +6300,8 @@ class APSW(unittest.TestCase):
s.cmdloop()
self.assertTrue("select 3;\n" in get(fh[2]))
# apsw can't tell where erroneous command ends so all processing on the line stops
- self.assertTrue("select error;select 4;\n" in get(fh[2]))
+ if sys.version_info < (3,8,0):
+ self.assertTrue("select error;select 4;\n" in get(fh[2]))
# is timing info output correctly?
reset()
timersupported=False