| 17 | | See failed test full stacktrace: https://dpaste.org/pY48h |
| | 17 | See failed test full stacktrace: https://dpaste.org/pY48h (link will expire, see result below instead). |
| | 18 | |
| | 19 | {{{ |
| | 20 | FAIL: test_run_formatters_handles_oserror_for_black_path (user_commands.tests.UtilsTests.test_run_formatters_handles_oserror_for_black_path) [FileNotFoundError] |
| | 21 | ---------------------------------------------------------------------- |
| | 22 | Traceback (most recent call last): |
| | 23 | File "/Users/user1/.pyenv/versions/3.13.2/lib/python3.13/unittest/case.py", line 58, in testPartExecutor |
| | 24 | yield |
| | 25 | File "/Users/user1/.pyenv/versions/3.13.2/lib/python3.13/unittest/case.py", line 556, in subTest |
| | 26 | yield |
| | 27 | File "/Users/user1/projects/django/tests/user_commands/tests.py", line 584, in test_run_formatters_handles_oserror_for_black_path |
| | 28 | self.assertIn(exception.__qualname__, parsed_error) |
| | 29 | ^^^^^^^ |
| | 30 | File "/Users/user1/.pyenv/versions/3.13.2/lib/python3.13/unittest/case.py", line 1174, in assertIn |
| | 31 | self.fail(self._formatMessage(msg, standardMsg)) |
| | 32 | ^^^^^^^^^^^ |
| | 33 | File "/Users/user1/.pyenv/versions/3.13.2/lib/python3.13/unittest/case.py", line 732, in fail |
| | 34 | raise self.failureException(msg) |
| | 35 | ^^^^^^^^^^^^^^^ |
| | 36 | AssertionError: 'FileNotFoundError' not found in 'Formatters failed to launch:Traceback (most recent call last): |
| | 37 | File "/Users/user1/projects/django/django/core/management/utils.py", line 175, in run_formatters |
| | 38 | subprocess.run( |
| | 39 | ~~~~~~~~~~~~~~^ |
| | 40 | [black_path, "--fast", "--", *written_files], |
| | 41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 42 | capture_output=True, |
| | 43 | ^^^^^^^^^^^^^^^^^^^^ |
| | 44 | ) |
| | 45 | ^ |
| | 46 | File "/Users/user1/.pyenv/versions/3.13.2/lib/python3.13/subprocess.py", line 556, in run |
| | 47 | with Popen(*popenargs, **kwargs) as process: |
| | 48 | ~~~~~^^^^^^^^^^^^^^^^^^^^^^ |
| | 49 | File "/Users/user1/.pyenv/versions/3.13.2/lib/python3.13/subprocess.py", line 1038, in __init__ |
| | 50 | self._execute_child(args, executable, preexec_fn, close_fds, |
| | 51 | ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 52 | pass_fds, cwd, env, |
| | 53 | ^^^^^^^^^^^^^^^^^^^ |
| | 54 | ...<5 lines>... |
| | 55 | gid, gids, uid, umask, |
| | 56 | ^^^^^^^^^^^^^^^^^^^^^^ |
| | 57 | start_new_session, process_group) |
| | 58 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | 59 | File "/Users/user1/.pyenv/versions/3.13.2/lib/python3.13/subprocess.py", line 1974, in _execute_child |
| | 60 | raise child_exception_type(errno_num, err_msg, err_filename) |
| | 61 | NotADirectoryError: [Errno 20] Not a directory: \'nonexistent\'' |
| | 62 | |
| | 63 | ---------------------------------------------------------------------- |
| | 64 | }}} |
| | 65 | |