Hi!
I’m pretty new here. I’m trying to follow all the tutorial from Django official website. I’m stuck after trying my best to find an answer to my problem. Any help is welcome.
Basically, I’ve follow everything from: Writing your first patch for Django | Django documentation | Django
$ cd repo
$ git clone --depth 1 https://github.com/YourGitHubName/django.git
$ python3 -m venv ~/.virtualenvs/djangodev
$ source ~/.virtualenvs/djangodev/bin/activate
$ python -m pip install -e ./django/
$ cd django/test
$ python -m pip install -r requirements/py3.txt
$ python ./runtests.py ## can't run ./runtests.py without python command
On my Ubuntu 21.10 with python 3.9.7 , I got one error doing the test:
======================================================================
FAIL: test_honor_umask (admin_scripts.tests.StartProject) [manage.py]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.9/unittest/case.py", line 499, in subTest
yield
File "/home/dave/pCloudDrive/Python/PersoPrj/DjangoLinux/repo/django/tests/admin_scripts/tests.py", line 2797, in test_honor_umask
self.assertEqual(
File "/usr/lib/python3.9/unittest/case.py", line 829, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python3.9/unittest/case.py", line 822, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 384 != 448
----------------------------------------------------------------------
Ran 15637 tests in 112.346s
FAILED (failures=1, skipped=1234, expected failures=5)
I would like very much to continue and explore Django, but can’t find any answer to my problem.
Thank you very much