We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c19c12 commit 20fbe0dCopy full SHA for 20fbe0d
upath/tests/test_stat.py
@@ -122,8 +122,9 @@ def test_timestamps(timestamp):
122
def test_bad_timestamp():
123
from upath._stat import UPathStatResult
124
125
- with pytest.raises(TypeError), pytest.warns(
126
- RuntimeWarning, "universal_pathlib/issues"
+ with (
+ pytest.raises(TypeError),
127
+ pytest.warns(RuntimeWarning, "universal_pathlib/issues"),
128
):
129
s = UPathStatResult([0] * 10, {"ctime": "bad"})
130
_ = s.st_ctime
0 commit comments