MCPcopy
hub / github.com/conda/conda / test_yield_lines

Function test_yield_lines

tests/test_install.py:249–253  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

247
248
249def test_yield_lines(tmpdir):
250 tempfile = join(str(tmpdir), "testfile")
251 _make_lines_file(tempfile)
252 lines = list(yield_lines(tempfile))
253 assert lines == ["line 1", "line 2", "line 4"]
254
255
256def test_read_no_link(tmpdir):

Callers

nothing calls this directly

Calls 3

yield_linesFunction · 0.90
joinFunction · 0.85
_make_lines_fileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…