Closed
Description
What happened?
This test is passing in a str
for dims
:
xarray/xarray/tests/test_dataarray.py
Lines 3074 to 3078 in 60754fd
dims
should be a tuple. I suspect the intent was to specify d = {"dims": ("t",)}
when the test was written.
This is small issue, but tests that call functions using the kind of data that would be used in "live" will improve quality of tests. Would be a shame for bug to affect users because tests use a str
while in userspace a tuple
is used.
What did you expect to happen?
code to be d = {"dims": ("t",)}
Minimal Complete Verifiable Example
No response
Relevant log output
No response
Anything else we need to know?
I'm happy to make a PR to fix this
Environment
NA