python_koans icon indicating copy to clipboard operation
python_koans copied to clipboard

Python Koans - Learn Python through TDD

Results 23 python_koans issues
Sort by recently updated
recently updated
newest added

Updated the name of these to reflect the actual behavior of comparing two dictionaries.

Hey, looks like typo in [about_scope.py:73](https://github.com/gregmalcolm/python_koans/blob/75b749221afea775b9c23d84a26b9790ea7bd09e/python3/koans/about_scope.py#L73) ```python def test_incrementing_with_local_counter(self): global counter start = counter self.increment_using_local_counter(start) # should be `counter` instead of `start` self.assertEqual(False, counter == start + 1) ``` Yes,...

测试代码本身也算另一种形式的业务代码,为了保证测试代码的正确。 你给测试代码写测试吗? 你给测试代码的测试代码写测试吗? 你给测试代码的测试代码的测试代码写测试吗? 你给测试代码的测试代码的测试代码的测试代码写测试吗? 你不写,就代表你不会用TDD,你就写不出高质量代码,你就无法重构代码,你就会被程序界开除人籍

Is there a way to tell the runner that it should start with some lesson? Best I could find was to add a `#` on all the lines up to...

Fixes https://github.com/gregmalcolm/python_koans/issues/248.

In the 'AboutStrings' test class there's a test called 'test_use_single_quotes_to_create_string_with_double_quotes'. I found it unclear what the purpose of this test was. It seemed like I had to rewrite the string...

_(Thanks for making `python_koans`. I just started running through it to brush up on Python in general (keeping skills sharper) and as I'm day-to-day working in Ruby, this makes it...