Skip to content

Commit 57d64f2

Browse files
improved test
1 parent e1bf931 commit 57d64f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/python/test_buffer_typed_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def test_bytes_console():
271271
temp_out = StringIO()
272272
sys.stdout = temp_out
273273
pm.eval('console.log')(bytes("hello world", "ascii"))
274-
assert temp_out.getvalue().startswith("\x1b[32m[String: '104,101,108,108,111,32,119,111,114,108,100'")
274+
assert temp_out.getvalue().__contains__("104,101,108,108,111,32,119,111,114,108,100")
275275

276276

277277
# iterator symbol property

0 commit comments

Comments
 (0)