-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perfect-numbers: Update perfect-numbers to reflect changes to canonic…
…al data (#1052) * Update perfect numbers test to reflect changes to canonical data * Switch assertRaises to assertRaisesRegex and use context manager syntax * Fix error caused by assertRaisesRegex not being available in Python 2.7 * Remove error message checks * Update exercise placeholder
- Loading branch information
1 parent
4fa0028
commit 52c0fae
Showing
3 changed files
with
74 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
def divisor_generator(number): | ||
pass | ||
|
||
|
||
def is_perfect(number): | ||
def classify(number): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters