Skip to content

Commit cef4e3a

Browse files
author
subrata-ms
committed
Fixing unicode error
1 parent bede06c commit cef4e3a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/test_013_SqlHandle_free_shutdown.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ def close(self):
12651265
print(f"List copy had {{len(connections_to_close)}} items at snapshot time")
12661266
12671267
print("List copy isolation: PASSED")
1268-
print(" connections_to_close = list(_active_connections) properly tested")
1268+
print("[OK] connections_to_close = list(_active_connections) properly tested")
12691269
"""
12701270
)
12711271

@@ -1275,7 +1275,9 @@ def close(self):
12751275

12761276
assert result.returncode == 0, f"Test failed. stderr: {result.stderr}"
12771277
assert "List copy isolation: PASSED" in result.stdout
1278-
assert "✓ connections_to_close = list(_active_connections) properly tested" in result.stdout
1278+
assert (
1279+
"[OK] connections_to_close = list(_active_connections) properly tested" in result.stdout
1280+
)
12791281
print(f"PASS: Cleanup connections list copy isolation")
12801282

12811283
def test_cleanup_connections_weakset_modification_during_iteration(self, conn_str):
@@ -1355,7 +1357,7 @@ def close(self):
13551357
assert processed == snapshot_size, f"Should process all snapshot items: {{processed}} == {{snapshot_size}}"
13561358
13571359
print("WeakSet modification during iteration: PASSED")
1358-
print(" list() copy prevents 'set changed size during iteration' errors")
1360+
print("[OK] list() copy prevents 'set changed size during iteration' errors")
13591361
"""
13601362
)
13611363

@@ -1365,5 +1367,7 @@ def close(self):
13651367

13661368
assert result.returncode == 0, f"Test failed. stderr: {result.stderr}"
13671369
assert "WeakSet modification during iteration: PASSED" in result.stdout
1368-
assert "✓ list() copy prevents 'set changed size during iteration' errors" in result.stdout
1370+
assert (
1371+
"[OK] list() copy prevents 'set changed size during iteration' errors" in result.stdout
1372+
)
13691373
print(f"PASS: Cleanup connections WeakSet modification during iteration")

0 commit comments

Comments
 (0)