Skip to content

Commit

Permalink
Merge branch 'Python3_port' of github.com:zopefoundation/Products.Pyt…
Browse files Browse the repository at this point in the history
…honScripts into Python3_port
  • Loading branch information
dwt committed May 4, 2017
2 parents 2499741 + 23c721a commit d9414aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Products/PythonScripts/tests/testPythonScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ def testAttributeAssignment(self):

for defn, name in cases:
for asn in assigns:
f = self._newPS(defn + "\n" + asn % name)
self.assertRaises(TypeError, f)
func = self._newPS(defn + "\n" + asn % name)
self.assertRaises(TypeError, func)


class TestPythonScriptGlobals(PythonScriptTestBase, WarningInterceptor):
Expand Down

0 comments on commit d9414aa

Please sign in to comment.