Skip to content

Commit a07bf97

Browse files
committed
Overlooked flake8 fixes.
1 parent 7f176cb commit a07bf97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_class_sh_basic.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ def test_pass_unique_ptr_disowns(rtrn_atyp, pass_atyp, rtrn):
7676
with pytest.raises(RuntimeError) as exc_info:
7777
m.pass_uqmp_atyp(obj)
7878
assert str(exc_info.value) == (
79-
"Missing value for wrapped C++ type:"
80-
" Python instance was disowned."
79+
"Missing value for wrapped C++ type: Python instance was disowned."
8180
)
8281

8382

tests/test_smart_ptr.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ def test_smart_ptr_from_default():
304304
m.HeldByDefaultHolder.load_shared_ptr(instance)
305305
assert str(excinfo.value) in (
306306
"Unable to load a smart-pointer type from a non-smart_holder instance.",
307-
"Unable to load a custom holder type from a default-holder instance")
307+
"Unable to load a custom holder type from a default-holder instance",
308+
)
308309

309310

310311
def test_shared_ptr_gc():

0 commit comments

Comments
 (0)