TDD Hashtag table - TypeError in 01_define_a_custom_hashtable_class
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- testing-qa
Research direction
Start with hashtable/01_hashtable_prototype/01_define_a_custom_hashtable_class/hashtable.py and the 01_define_a_custom_hashtable_class exercise. Run its test or reproduction on the reported setup, then inspect the initialization around self.values = capacity * [None]. Done means the exercise no longer raises the reported TypeError.
Written by the indexing model from the issue text.
Description
source: hashtable.py in 01_define_a_custom_hashtable_class
Describe the bug
running the test throws an error for line self.values = capacity * [None]
TypeError: cant multiply sequence by non-int of type ' NoneType'
That's a pity, because I really like this TDD cource!
Running on Windows 10 with python version 3.7.3
- Dominant language
- Jupyter Notebook
- Stars
- 5.2k
- Forks
- 5.3k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from realpython/materials
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
realpython/materials#729 ·
-
п Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
realpython/materials#763 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
realpython/materials#738 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
realpython/materials#737 ·
-
проект2 Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
realpython/materials#725 ·
All issues in realpython/materials
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
nesquena/hermes-webui#7735 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
melgarafael/DeskcommCRM#1445 ·
-
area:dictation documentation P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
uttrflow/uttrflow-swift#1180 ·