-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests were failing on GitHub Actions because the terminal size is different from developers' laptop. This commit fixes that issue by patching the return value of `shutil`, so we fake the width. Besides that, some other tests were failing on GitHub Actions because the helper printed by `ArgumentParser` differs from Python 3.10 onwards: it prints `options:` string instead of `optional arguments:`. This commit also fixes that issue with unit tests by conditionally setting the expected value based on the Python minor version of Python 3. References: BAR-133. Signed-off-by: Israel Barth Rubio <israel.barth@enterprisedb.com>
- Loading branch information
1 parent
258f2a4
commit 141e045
Showing
1 changed file
with
23 additions
and
9 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