We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73e7c8f commit 5b12b3dCopy full SHA for 5b12b3d
pandas/tests/plotting/frame/test_frame.py
@@ -682,7 +682,7 @@ def test_raise_error_on_datetime_time_data(self):
682
# GH 8113, datetime.time type is not supported by matplotlib in scatter
683
df = DataFrame(np.random.randn(10), columns=["a"])
684
df["dtime"] = date_range(start="2014-01-01", freq="h", periods=10).time
685
- msg = "must be a string or a number, not 'datetime.time'"
+ msg = "must be a string or a (real )?number, not 'datetime.time'"
686
687
with pytest.raises(TypeError, match=msg):
688
df.plot(kind="scatter", x="dtime", y="a")
0 commit comments