-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix (a and b) and c case. Keep unparsed output consist on AST with or…
…iginal input. Fix the bug that failed tests return a successful return code
- Loading branch information
Showing
3 changed files
with
37 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
import sys | ||
import unittest | ||
|
||
from . import oneliner_test, unparser_test | ||
|
||
unittest.main(unparser_test.__name__, exit=False) | ||
unittest.main(oneliner_test.__name__) | ||
return_code = 0 | ||
|
||
result = unittest.main(unparser_test.__name__, exit=False).result | ||
return_code |= not result.wasSuccessful() | ||
result = unittest.main(oneliner_test.__name__, exit=False).result | ||
return_code |= not result.wasSuccessful() | ||
|
||
sys.exit(return_code) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters