Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ jobs:
activate-environment: test
channels: conda-forge, anaconda
channel-priority: true
mamba-version: "*"
# mamba fails to solve, also we really don't need this since we're just installing python
# mamba-version: "*"

- name: Test wheels (Windows 64-bit only)
if: ${{ matrix.buildplat[1] == 'win_amd64' }}
Expand Down Expand Up @@ -154,7 +155,8 @@ jobs:
python-version: '3.8'
channels: conda-forge
channel-priority: true
mamba-version: "*"
# mamba fails to solve, also we really don't need this since we're just installing python
# mamba-version: "*"

- name: Build sdist
run: |
Expand Down
8 changes: 5 additions & 3 deletions pandas/tests/io/test_stata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1802,10 +1802,12 @@ def test_encoding_latin1_118(self, datapath):
so the fallback encoding of latin-1 is being used. This can happen when a file
has been incorrectly encoded by Stata or some other software. You should verify
the string values returned are correct."""
# Move path outside of read_stata, or else assert_produces_warning
# will block pytests skip mechanism from triggering (failing the test)
# if the path is not present
path = datapath("io", "data", "stata", "stata1_encoding_118.dta")
with tm.assert_produces_warning(UnicodeWarning) as w:
encoded = read_stata(
datapath("io", "data", "stata", "stata1_encoding_118.dta")
)
encoded = read_stata(path)
assert len(w) == 151
assert w[0].message.args[0] == msg

Expand Down