Skip to content

Commit 04d039c

Browse files
committed
Tidying up
1 parent 813479c commit 04d039c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

domdf_python_tools/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ def permutations(data, n=2):
179179

180180
perms = []
181181
for i in itertools.permutations(data, n):
182-
"""from https://stackoverflow.com/questions/10201977/how-to-reverse-tuples-in-python"""
183182
if i[::-1] not in perms:
184183
perms.append(i)
185184
return perms

tests/test_doctools.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ def partially_documented_function(a, b, c, d):
159159
"""
160160
This function works like documented function except it returns the result telepathically.
161161
"""
162-
pass
163162

164163

165164
class DummyClass:
@@ -226,13 +225,9 @@ def test_append_doctring_from_another():
226225
def funB():
227226
"""Hello"""
228227

229-
pass
230-
231228
def funC():
232229
"""World"""
233230

234-
pass
235-
236231
assert funB.__doc__ == "Hello"
237232
assert funC.__doc__ == "World"
238233

0 commit comments

Comments
 (0)