MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_rewritten

Function test_rewritten

testing/test_assertion.py:1257–1264  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

1255
1256
1257def test_rewritten(pytester: Pytester) -> None:
1258 pytester.makepyfile(
1259 """
1260 def test_rewritten():
1261 assert "@py_builtins" in globals()
1262 """
1263 )
1264 assert pytester.runpytest().ret == 0
1265
1266
1267def test_reprcompare_notin() -> None:

Callers

nothing calls this directly

Calls 2

makepyfileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected