Make sure that Python 2 passes a test on more systems

This commit is contained in:
Dave Halter
2019-12-13 12:28:03 +01:00
parent 769b3556d2
commit b9f8a7f52e

View File

@@ -80,7 +80,7 @@ class TestSetupReadline(unittest.TestCase):
difference = { difference = {
x for x in difference x for x in difference
if all(not x.startswith('from os import ' + s) if all(not x.startswith('from os import ' + s)
for s in ['_', 'O_', 'EX_', 'MFD_', 'SF_']) for s in ['_', 'O_', 'EX_', 'MFD_', 'SF_', 'ST_'])
} }
# There are quite a few differences, because both Windows and Linux # There are quite a few differences, because both Windows and Linux
# (posix and nt) librariesare included. # (posix and nt) librariesare included.