Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some tests fail #482

Open
yurivict opened this issue Oct 4, 2022 · 1 comment
Open

Some tests fail #482

yurivict opened this issue Oct 4, 2022 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Oct 4, 2022

========================================================================================== FAILURES ==========================================================================================
_________________________________________________________________________________________ test_main __________________________________________________________________________________________

    def test_main():
>       unittest.main(verbosity=2)

regex_3/test_regex.py:4452: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.9/unittest/main.py:100: in __init__
    self.parseArgs(argv)
/usr/local/lib/python3.9/unittest/main.py:133: in parseArgs
    self._main_parser.parse_args(argv[1:], self)
/usr/local/lib/python3.9/argparse.py:1828: in parse_args
    self.error(msg % ' '.join(argv))
/usr/local/lib/python3.9/argparse.py:2582: in error
    self.exit(2, _('%(prog)s: error: %(message)s\n') % args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = ArgumentParser(prog='__main__.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True), status = 2
message = '__main__.py: error: unrecognized arguments: -rs -o\n'

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/usr/local/lib/python3.9/argparse.py:2569: SystemExit
------------------------------------------------------------------------------------ Captured stderr call ------------------------------------------------------------------------------------
usage: __main__.py [-h] [-v] [-q] [--locals] [-f] [-c] [-b]
                   [-k TESTNAMEPATTERNS]
                   [tests ...]
__main__.py: error: unrecognized arguments: -rs -o
=============================================================================== 1 failed, 100 passed in 2.21s ================================================================================
*** Error code 1

Version: 2022.9.13
FreeBSD 13.1

@mtelka
Copy link

mtelka commented Nov 29, 2022

I think this is same as #416 and #448.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants