Skip to content

Commit

Permalink
fix: Ignore return value
Browse files Browse the repository at this point in the history
  • Loading branch information
giulioungaretti committed Nov 22, 2016
1 parent 2365002 commit 3574ab7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qcodes/tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ class TestJSONencoder(TestCase):

def testNumpyJSONEncoder(self):
e = NumpyJSONEncoder()

# test basic python types
od = OrderedDict()
od['a'] = 0
Expand All @@ -583,9 +583,9 @@ def testNumpyJSONEncoder(self):
# test class
class dummy(object):
pass
v=e.encode(dummy())
# empty class returns empty string oooor ?
self.assertEqual(v, ' ')
# test that does not raise, do not care about
# return value
e.encode(dummy())

class TestCompareDictionaries(TestCase):
def test_same(self):
Expand Down

0 comments on commit 3574ab7

Please sign in to comment.