(self, datapath)
| 1987 | |
| 1988 | @pytest.mark.slow |
| 1989 | def test_stata_119(self, datapath): |
| 1990 | # Gzipped since contains 32,999 variables and uncompressed is 20MiB |
| 1991 | # Just validate that the reader reports correct number of variables |
| 1992 | # to avoid high peak memory |
| 1993 | with gzip.open( |
| 1994 | datapath("io", "data", "stata", "stata1_119.dta.gz"), "rb" |
| 1995 | ) as gz: |
| 1996 | with StataReader(gz) as reader: |
| 1997 | reader._ensure_open() |
| 1998 | assert reader._nvar == 32999 |
| 1999 | |
| 2000 | @pytest.mark.parametrize("version", [118, 119, None]) |
| 2001 | @pytest.mark.parametrize("byteorder", ["little", "big"]) |
nothing calls this directly
no test coverage detected