File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 86
86
activate-environment : test
87
87
channels : conda-forge, anaconda
88
88
channel-priority : true
89
- mamba-version : " *"
89
+ # mamba fails to solve, also we really don't need this since we're just installing python
90
+ # mamba-version: "*"
90
91
91
92
- name : Test wheels (Windows 64-bit only)
92
93
if : ${{ matrix.buildplat[1] == 'win_amd64' }}
@@ -154,7 +155,8 @@ jobs:
154
155
python-version : ' 3.8'
155
156
channels : conda-forge
156
157
channel-priority : true
157
- mamba-version : " *"
158
+ # mamba fails to solve, also we really don't need this since we're just installing python
159
+ # mamba-version: "*"
158
160
159
161
- name : Build sdist
160
162
run : |
Original file line number Diff line number Diff line change @@ -1802,10 +1802,12 @@ def test_encoding_latin1_118(self, datapath):
1802
1802
so the fallback encoding of latin-1 is being used. This can happen when a file
1803
1803
has been incorrectly encoded by Stata or some other software. You should verify
1804
1804
the string values returned are correct."""
1805
+ # Move path outside of read_stata, or else assert_produces_warning
1806
+ # will block pytests skip mechanism from triggering (failing the test)
1807
+ # if the path is not present
1808
+ path = datapath ("io" , "data" , "stata" , "stata1_encoding_118.dta" )
1805
1809
with tm .assert_produces_warning (UnicodeWarning ) as w :
1806
- encoded = read_stata (
1807
- datapath ("io" , "data" , "stata" , "stata1_encoding_118.dta" )
1808
- )
1810
+ encoded = read_stata (path )
1809
1811
assert len (w ) == 151
1810
1812
assert w [0 ].message .args [0 ] == msg
1811
1813
You can’t perform that action at this time.
0 commit comments