Skip to content

Commit 82bca54

Browse files
committed
Quieten lint issues
1 parent d6051d4 commit 82bca54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonstore/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ def test_has_values(self):
111111

112112
def test_empty_key(self):
113113
with self.assertRaises(KeyError):
114-
self.store['']
114+
assert self.store['']
115115

116116
def test_empty_store(self):
117117
store_file = mktemp()
118118
with open(store_file, 'wb') as f:
119119
f.write(b"")
120-
JsonStore(f.name)
120+
self.assertTrue(JsonStore(f.name))
121121

122122
def test_assign_cycle(self):
123123
test_list = []

0 commit comments

Comments
 (0)