We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e76b51 commit fef04e6Copy full SHA for fef04e6
pandas/tests/extension/decimal/test_decimal.py
@@ -393,6 +393,9 @@ def _formatting_values(self):
393
return np.array(self)
394
395
ser = pd.Series(DecimalArray2([decimal.Decimal('1.0')]))
396
+ # different levels for 2 vs. 3
397
+ check_stacklevel = compat.PY3
398
- with tm.assert_produces_warning(FutureWarning):
399
+ with tm.assert_produces_warning(FutureWarning,
400
+ check_stacklevel=check_stacklevel):
401
repr(ser)
0 commit comments