Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 22, 2023. It is now read-only.
/pythonnetPublic archive
forked frompythonnet/pythonnet

Commit5036586

Browse files
committed
Fix test_multiple_calls_to_initialize
Exception check didn't upgrade syntax from unittests.Didn't cause issues because test was passing.
1 parent3a7d56b commit5036586

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/tests/test_engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def test_multiple_calls_to_initialize():
1515
PythonEngine.Initialize()
1616
PythonEngine.Initialize()
1717
PythonEngine.Initialize()
18-
exceptBaseException:
19-
self.fail("Initialize() raise an exception.")
18+
exceptException:
19+
assertFalse#Initialize() raise an exception.
2020

2121

2222
@pytest.mark.skip(reason="FIXME: test crashes")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp