Skip to content

Commit 8b7d0d1

Browse files
committed
Fix tests for python 2
1 parent 7707844 commit 8b7d0d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_simple.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import tempfile
88
import testgres
99
import time
10+
import six
1011
import unittest
1112

1213
import logging.config
@@ -859,7 +860,7 @@ def test_version_management(self):
859860

860861
version = get_pg_version()
861862
with get_new_node() as node:
862-
self.assertTrue(isinstance(version, str))
863+
self.assertTrue(isinstance(version, six.string_types))
863864
self.assertTrue(isinstance(node.version, PgVer))
864865
self.assertTrue(node.version == version)
865866

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy