Skip to content

Commit

Permalink
Reinstall autopep8 prehook
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrameos committed Oct 16, 2020
1 parent b121bb3 commit 9363817
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/jpypetest/test_varargs.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ def setUp(self):
self.StringA = jpype.JArray(self.String)

def testConflict(self):
m = jpype.java.util.LinkedHashMap({"a":1,"b":2,"c":3})
m = jpype.java.util.LinkedHashMap({"a": 1, "b": 2, "c": 3})
test = self.VarArgs()
self.assertEqual(test.conflict2([1,2,3]),1)
self.assertEqual(test.conflict2(m,m),2)
self.assertEqual(test.conflict3(['h','e']),1)
self.assertEqual(test.conflict3('h'),2)
self.assertEqual(test.conflict3('hello'),2)
self.assertEqual(test.conflict1(1),1)
self.assertEqual(test.conflict1([1,2,3]),1)
self.assertEqual(test.conflict1({"a":1,"b":2,"c":3}),2)
self.assertEqual(test.conflict1(m),2)
self.assertEqual(test.conflict2([1, 2, 3]), 1)
self.assertEqual(test.conflict2(m, m), 2)
self.assertEqual(test.conflict3(['h', 'e']), 1)
self.assertEqual(test.conflict3('h'), 2)
self.assertEqual(test.conflict3('hello'), 2)
self.assertEqual(test.conflict1(1), 1)
self.assertEqual(test.conflict1([1, 2, 3]), 1)
self.assertEqual(test.conflict1({"a": 1, "b": 2, "c": 3}), 2)
self.assertEqual(test.conflict1(m), 2)

def testVarArgsCtor(self):
va0 = self.VarArgs('1')
Expand Down

0 comments on commit 9363817

Please sign in to comment.