MCPcopy Create free account
hub / github.com/ipython/ipython / test_error_on_directory_to_FileLink

Function test_error_on_directory_to_FileLink

IPython/lib/tests/test_display.py:74–78  ·  view source on GitHub ↗

FileLink: Raises error when passed directory

()

Source from the content-addressed store, hash-verified

72 nt.assert_equal(actual,expected)
73
74def test_error_on_directory_to_FileLink():
75 """FileLink: Raises error when passed directory
76 """
77 td = mkdtemp()
78 nt.assert_raises(ValueError,display.FileLink,td)
79
80#--------------------------
81# FileLinks tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected