Skip to content

Commit

Permalink
Update test_write_script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Feb 4, 2023
1 parent 03c919c commit 2dd4a48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _unittests/ut_module/test_write_script.py
Expand Up @@ -23,10 +23,10 @@ def test_write_script(self):
if "__" in content:
for line in content.split("\n"):
if "__" in line and "sys.path.append" not in line and "__file__" not in line:
raise Exception(content)
raise AssertionError(content)
if ".xml" in c:
if '<outline text="' not in content:
raise Exception(content)
raise AssertionError(content)


if __name__ == "__main__":
Expand Down

0 comments on commit 2dd4a48

Please sign in to comment.