We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3344918 commit 9ad8aa7Copy full SHA for 9ad8aa7
pandas/util/testing.py
@@ -2523,7 +2523,10 @@ class for all warnings. To check that no warning is returned,
2523
message=actual_warning.message)
2524
assert actual_warning.filename == caller.filename, msg
2525
else:
2526
- extra_warnings.append(actual_warning.category.__name__)
+ extra_warnings.append((actual_warning.category.__name__,
2527
+ actual_warning.message,
2528
+ actual_warning.filename,
2529
+ actual_warning.lineno))
2530
if expected_warning:
2531
msg = "Did not see expected warning of class {name!r}.".format(
2532
name=expected_warning.__name__)
0 commit comments