Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ test_no_conn
Method
test_no_conn
tests/test_sql.py:512–514 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
510
assert got == eur.encode(encoding)
511
512
def
test_no_conn(self):
513
assert sql.SQL(eur).as_string() == eur
514
assert sql.SQL(eur).as_bytes() == eur.encode()
515
516
517
class
TestComposed:
Callers
nothing calls this directly
Calls
2
as_string
Method · 0.45
as_bytes
Method · 0.45
Tested by
no test coverage detected