zbyszek / rpms / python-apsw

Forked from rpms/python-apsw 4 months ago
Clone
Blob Blame Raw
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