MCPcopy
hub / github.com/pytest-dev/pytest / test_pyimport_messy_name

Method test_pyimport_messy_name

testing/_py/test_local.py:1031–1034  ·  view source on GitHub ↗
(self, tmpdir)

Source from the content-addressed store, hash-verified

1029 tmpdir.join("b", "test_x123.py").pyimport()
1030
1031 def test_pyimport_messy_name(self, tmpdir):
1032 # http://bitbucket.org/hpk42/py-trunk/issue/129
1033 path = tmpdir.ensure("foo__init__.py")
1034 path.pyimport()
1035
1036 def test_pyimport_dir(self, tmpdir):
1037 p = tmpdir.join("hello_123")

Callers

nothing calls this directly

Calls 2

ensureMethod · 0.80
pyimportMethod · 0.80

Tested by

no test coverage detected