Skip to content

Commit

Permalink
Remove no longer needed class.
Browse files Browse the repository at this point in the history
Implement suggestion of @tseaver at PR #6.
  • Loading branch information
Michael Howitz committed Jun 9, 2017
1 parent 05b0172 commit 67577a2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Products/PythonScripts/tests/testPythonScript.py
Expand Up @@ -55,12 +55,6 @@ def readf(name):
return open(path, 'r').read()


class VerifiedPythonScript(PythonScript):

def _newfun(self, code):
return PythonScript._newfun(self, code)


class PythonScriptTestBase(unittest.TestCase):

def setUp(self):
Expand All @@ -83,7 +77,7 @@ def tearDown(self):
_appliedModuleSecurity.update(self._ams_before)

def _newPS(self, txt, bind=None):
ps = VerifiedPythonScript('ps')
ps = PythonScript('ps')
ps.ZBindings_edit(bind or {})
ps.write(txt)
ps._makeFunction()
Expand All @@ -92,7 +86,7 @@ def _newPS(self, txt, bind=None):
return ps

def _filePS(self, fname, bind=None):
ps = VerifiedPythonScript(fname)
ps = PythonScript(fname)
ps.ZBindings_edit(bind or {})
ps.write(readf(fname))
ps._makeFunction()
Expand Down

0 comments on commit 67577a2

Please sign in to comment.