Skip to content

Commit 20fbe0d

Browse files
committed
tests: update formatting of with
1 parent 6c19c12 commit 20fbe0d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

upath/tests/test_stat.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ def test_timestamps(timestamp):
122122
def test_bad_timestamp():
123123
from upath._stat import UPathStatResult
124124

125-
with pytest.raises(TypeError), pytest.warns(
126-
RuntimeWarning, "universal_pathlib/issues"
125+
with (
126+
pytest.raises(TypeError),
127+
pytest.warns(RuntimeWarning, "universal_pathlib/issues"),
127128
):
128129
s = UPathStatResult([0] * 10, {"ctime": "bad"})
129130
_ = s.st_ctime

0 commit comments

Comments
 (0)