Tests that the read method (integer arg) returns the expected value
()
| 27 | |
| 28 | |
| 29 | def test_03(): |
| 30 | """ |
| 31 | Tests that the read method (integer arg) |
| 32 | returns the expected value |
| 33 | """ |
| 34 | string = "Test String 3" |
| 35 | f = StringIO(string) |
| 36 | |
| 37 | assert f.read(1) == "T" |
| 38 | assert f.read(1) == "e" |
| 39 | assert f.read(1) == "s" |
| 40 | assert f.read(1) == "t" |
| 41 | |
| 42 | |
| 43 | def test_04(): |
no test coverage detected