git clone --depth 1 https://github.com/YourGitHubName/django.git
python -m pip install -e /path/to/your/local/clone/django/
python -m pip install -r requirements/py3.txt
./runtests.py
After I commnad+ c, it shows "Ran 13583 tests in 275.918s", which may
indicate the position where it starts hanging.
python version is 3.7.3.
--
Ticket URL: <https://code.djangoproject.com/ticket/31421>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> i was basically doing "contributing tutorial", and after I have done
> following:
>
> git clone --depth 1 https://github.com/YourGitHubName/django.git
> python -m pip install -e /path/to/your/local/clone/django/
> python -m pip install -r requirements/py3.txt
> ./runtests.py
>
> After I commnad+ c, it shows "Ran 13583 tests in 275.918s", which may
> indicate the position where it starts hanging.
>
> python version is 3.7.3.
New description:
python version is 3.7.3.
i was basically doing "contributing tutorial", and after I have done
following:
git clone --depth 1 https://github.com/YourGitHubName/django.git
python -m pip install -e /path/to/your/local/clone/django/
python -m pip install -r requirements/py3.txt
./runtests.py
After I commnad+ c, it shows "Ran 13583 tests in 275.918s", which may
indicate the position where it starts hanging.
python version is 3.7.3.
error message after command + c:
FAIL: test_db_table (schema.tests.SchemaTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/unittest/case.py",
line 59, in testPartExecutor
yield
File
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/unittest/case.py",
line 615, in run
testMethod()
File "/Users/nanliu/github/django/django/test/utils.py", line 381, in
inner
return func(*args, **kwargs)
File "/Users/nanliu/github/django/tests/schema/tests.py", line 2280, in
test_db_table
self.assertForeignKeyExists(Book, "author_id", "schema_otherauthor")
File "/Users/nanliu/github/django/tests/schema/tests.py", line 201, in
assertForeignKeyExists
self.assertEqual(constraint_fk, (expected_fk_table, field))
File
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/unittest/case.py",
line 839, in assertEqual
assertion_func(first, second, msg=msg)
File
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/unittest/case.py",
line 1056, in assertTupleEqual
self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
File
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/unittest/case.py",
line 1027, in assertSequenceEqual
self.fail(msg)
File
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/unittest/case.py",
line 680, in fail
raise self.failureException(msg)
AssertionError: Tuples differ: ('schema_author', 'id') !=
('schema_otherauthor', 'id')
First differing element 0:
'schema_author'
'schema_otherauthor'
- ('schema_author', 'id')
+ ('schema_otherauthor', 'id')
? +++++
--
--
Ticket URL: <https://code.djangoproject.com/ticket/31421#comment:1>
* status: new => closed
* type: Cleanup/optimization => Bug
* resolution: => duplicate
Old description:
> python version is 3.7.3.
>
> i was basically doing "contributing tutorial", and after I have done
> following:
>
> git clone --depth 1 https://github.com/YourGitHubName/django.git
> python -m pip install -e /path/to/your/local/clone/django/
> python -m pip install -r requirements/py3.txt
> ./runtests.py
>
> After I commnad+ c, it shows "Ran 13583 tests in 275.918s", which may
> indicate the position where it starts hanging.
>
> python version is 3.7.3.
>
New description:
python version is 3.7.3.
i was basically doing "contributing tutorial", and after I have done
following:
git clone --depth 1 https://github.com/YourGitHubName/django.git
python -m pip install -e /path/to/your/local/clone/django/
python -m pip install -r requirements/py3.txt
./runtests.py
After I commnad+ c, it shows "Ran 13583 tests in 275.918s", which may
indicate the position where it starts hanging.
python version is 3.7.3.
error message after command + c:
--
Comment:
Duplicate of #27086, see
[https://docs.djangoproject.com/en/3.0/internals/contributing/writing-code
/unit-tests/#test-suite-hangs-or-shows-failures-on-master-branch docs].
--
Ticket URL: <https://code.djangoproject.com/ticket/31421#comment:2>