diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 78db4f7ea5c75..0a67061016566 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -3085,3 +3085,9 @@ def test_tzaware_data_tznaive_dtype(self, constructor): assert np.all(result.dtypes == "M8[ns]") assert np.all(result == ts_naive) + + def test_construction_empty_array_multi_column_raises(self): + # GH#46822 + msg = "Empty data passed with indices specified." + with pytest.raises(ValueError, match=msg): + DataFrame(data=np.array([]), columns=["a", "b"])