We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c45ba7 commit 023214fCopy full SHA for 023214f
test/test_utils.py
@@ -34,10 +34,13 @@ def mock_input(s):
34
35
def test_sanitize_as_empty_string():
36
string = 'asopdfha'
37
- string2 = None
38
string = utils.sanitize_as_empty_string(string)
+ if not string == 'asopdfha':
39
+ raise AssertionError()
40
+
41
+ string2 = None
42
string2 = utils.sanitize_as_empty_string(string2)
- if not (string == 'asopdfha' and string2 == ''):
43
+ if not string2 == '':
44
raise AssertionError()
45
46
0 commit comments