Tests that the read method (integer arg) returns the expected value
()
| 20 | |
| 21 | |
| 22 | def test_03(): |
| 23 | """ |
| 24 | Tests that the read method (integer arg) |
| 25 | returns the expected value |
| 26 | """ |
| 27 | string = b"Test String 3" |
| 28 | f = BytesIO(string) |
| 29 | |
| 30 | assert f.read(1) == b"T" |
| 31 | assert f.read(1) == b"e" |
| 32 | assert f.read(1) == b"s" |
| 33 | assert f.read(1) == b"t" |
| 34 | |
| 35 | |
| 36 | def test_04(): |
no test coverage detected