Show More
@@ -18,7 +18,6 b' from __future__ import absolute_import' | |||
|
18 | 18 | # Imports |
|
19 | 19 | #----------------------------------------------------------------------------- |
|
20 | 20 | |
|
21 | import inspect | |
|
22 | 21 | import os |
|
23 | 22 | import re |
|
24 | 23 | import sys |
@@ -346,7 +345,7 b' class AssertPrints(object):' | |||
|
346 | 345 | """ |
|
347 | 346 | def __init__(self, s, channel='stdout', suppress=True): |
|
348 | 347 | self.s = s |
|
349 | if isinstance(self.s, str): | |
|
348 | if isinstance(self.s, py3compat.string_types): | |
|
350 | 349 | self.s = [self.s] |
|
351 | 350 | self.channel = channel |
|
352 | 351 | self.suppress = suppress |
General Comments 0
You need to be logged in to leave comments.
Login now