Skip to content

Commit 02017e3

Browse files
committed
Print some debug output before assertion in test_nested_call()
1 parent 3402536 commit 02017e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_cases.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ def test_nested_call(config):
114114
util_conn.commit()
115115

116116
qs, notices = common.onetime_query_state(config, acon, call_function)
117+
118+
# Print some debug output before assertion
119+
if len(qs) < 2:
120+
print(qs)
121+
117122
assert len(qs) == 2 \
118123
and qs[0][0] == qs[1][0] == acon.get_backend_pid() \
119124
and qs[0][1] == 0 and qs[1][1] == 1 \

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