1 | Traceback (most recent call last):
|
---|
2 | File "/Users/matthew/Work/Work/Projects/my_project/my_project_project/my_project/./manage.py", line 21, in <module>
|
---|
3 | main()
|
---|
4 | File "/Users/matthew/Work/Work/Projects/my_project/my_project_project/my_project/./manage.py", line 17, in main
|
---|
5 | execute_from_command_line(sys.argv)
|
---|
6 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
|
---|
7 | utility.execute()
|
---|
8 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
|
---|
9 | self.fetch_command(subcommand).run_from_argv(self.argv)
|
---|
10 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/core/management/commands/test.py", line 24, in run_from_argv
|
---|
11 | super().run_from_argv(argv)
|
---|
12 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
|
---|
13 | self.execute(*args, **cmd_options)
|
---|
14 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
|
---|
15 | output = self.handle(*args, **options)
|
---|
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
---|
17 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/core/management/commands/test.py", line 68, in handle
|
---|
18 | failures = test_runner.run_tests(test_labels)
|
---|
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
---|
20 | File "/Users/matthew/Work/Work/Projects/my_project/my_project_project/my_project/player/utils.py", line 126, in run_tests
|
---|
21 | return super().run_tests(test_labels, extra_tests, **kwargs)
|
---|
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
---|
23 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/test/runner.py", line 1061, in run_tests
|
---|
24 | result = self.run_suite(suite)
|
---|
25 | ^^^^^^^^^^^^^^^^^^^^^
|
---|
26 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/test/runner.py", line 983, in run_suite
|
---|
27 | return runner.run(suite)
|
---|
28 | ^^^^^^^^^^^^^^^^^
|
---|
29 | File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/runner.py", line 217, in run
|
---|
30 | test(result)
|
---|
31 | File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/suite.py", line 84, in __call__
|
---|
32 | return self.run(*args, **kwds)
|
---|
33 | ^^^^^^^^^^^^^^^^^^^^^^^
|
---|
34 | File "/Users/matthew/.virtualenvs/my_project-local-py311/lib/python3.11/site-packages/django/test/runner.py", line 534, in run
|
---|
35 | subsuite_index, events = test_results.next(timeout=0.1)
|
---|
36 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
---|
37 | File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/pool.py", line 873, in next
|
---|
38 | raise value
|
---|
39 | File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/pool.py", line 540, in _handle_tasks
|
---|
40 | put(task)
|
---|
41 | File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/connection.py", line 206, in send
|
---|
42 | self._send_bytes(_ForkingPickler.dumps(obj))
|
---|
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
---|
44 | File "/opt/homebrew/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/reduction.py", line 51, in dumps
|
---|
45 | cls(buf, protocol).dump(obj)
|
---|
46 | TypeError: cannot pickle '_contextvars.Context' object
|
---|