(self)
| 666 | self.check_compressed(lzma.open, ('.xz', '.lzma')) |
| 667 | |
| 668 | def test_encoding(self): |
| 669 | with temppath() as path: |
| 670 | with open(path, "wb") as f: |
| 671 | f.write('0.\n1.\n2.'.encode("UTF-16")) |
| 672 | x = self.loadfunc(path, encoding="UTF-16") |
| 673 | assert_array_equal(x, [0., 1., 2.]) |
| 674 | |
| 675 | def test_stringload(self): |
| 676 | # umlaute |
nothing calls this directly
no test coverage detected