Skip to content

Commit 74a5d62

Browse files
committed
pandas now checks series names for equality.
1 parent faf77ac commit 74a5d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/tests/test_optional/test_utils/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def test_pandas_json_encoding():
225225
# Test that data wasn't mutated
226226
assert_series_equal(df['col 1'],
227227
pd.Series([1, 2, 3, dt(2014, 1, 5),
228-
pd.NaT, np.NaN, np.Inf]))
228+
pd.NaT, np.NaN, np.Inf], name='col 1'))
229229

230230
j2 = json.dumps(df.index, cls=utils.PlotlyJSONEncoder)
231231
assert(j2 == '[0, 1, 2, 3, 4, 5, 6]')

0 commit comments

Comments
 (0)