Test that lambda functionality stays the same. The output produced currently is, I suspect invalid because of the unencoded brackets in the HTML, " ". The subtraction lambda method is tested.
(self)
| 118 | response.read() |
| 119 | |
| 120 | def test_lambda(self): |
| 121 | """Test that lambda functionality stays the same. The output produced |
| 122 | currently is, I suspect invalid because of the unencoded brackets in the |
| 123 | HTML, "<lambda>". |
| 124 | |
| 125 | The subtraction lambda method is tested. |
| 126 | """ |
| 127 | self.client.request("GET", "/") |
| 128 | response = self.client.getresponse() |
| 129 | |
| 130 | self.assertIn((b'<dl><dt><a name="-<lambda>"><strong>' |
| 131 | b'<lambda></strong></a>(x, y)</dt></dl>'), |
| 132 | response.read()) |
| 133 | |
| 134 | @make_request_and_skipIf(sys.flags.optimize >= 2, |
| 135 | "Docstrings are omitted with -O2 and above") |
nothing calls this directly
no test coverage detected