[Checkins] [zopefoundation/RestrictedPython] 588c5f: Migrate the nested generator test.

GitHub noreply at github.com
Tue Jan 31 13:39:09 CET 2017


  Branch: refs/heads/Python3_update
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 588c5f759a9bbccb3036311261a737fa07cb1823
      https://github.com/zopefoundation/RestrictedPython/commit/588c5f759a9bbccb3036311261a737fa07cb1823
  Author: stephan-hof <sh at axiros.com>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    R src/RestrictedPython/tests/before_and_after24.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Migrate the nested generator test.


  Commit: ee1d51442a5dcd2bc480032d2c9e9a39c413c207
      https://github.com/zopefoundation/RestrictedPython/commit/ee1d51442a5dcd2bc480032d2c9e9a39c413c207
  Author: stephan-hof <sh at axiros.com>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    R src/RestrictedPython/tests/before_and_after25.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Migrate test for ternary operator.


  Commit: 292601d6ac6695b406bca499cf50451764d3b3c4
      https://github.com/zopefoundation/RestrictedPython/commit/292601d6ac6695b406bca499cf50451764d3b3c4
  Author: stephan-hof <sh at axiros.com>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    M src/RestrictedPython/transformer.py

  Log Message:
  -----------
  Refactor out a method having common code for sequence unpacking.


  Commit: 04457dc07378fe9d4fd685c9ddd10efbd2e62557
      https://github.com/zopefoundation/RestrictedPython/commit/04457dc07378fe9d4fd685c9ddd10efbd2e62557
  Author: stephan-hof <sh at axiros.com>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    M src/RestrictedPython/transformer.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Protect sequence unpacking on with statements.


  Commit: 1a37c462db8b8fde1d884c8a9c8f5a59a0eb73cb
      https://github.com/zopefoundation/RestrictedPython/commit/1a37c462db8b8fde1d884c8a9c8f5a59a0eb73cb
  Author: stephan-hof <sh at axiros.com>
  Date:   2016-11-30 (Wed, 30 Nov 2016)

  Changed paths:
    R src/RestrictedPython/tests/before_and_after26.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Migrate tests for the with statement.


  Commit: cddc72ebd6b75ab811349eb9e3b453ced0c26dde
      https://github.com/zopefoundation/RestrictedPython/commit/cddc72ebd6b75ab811349eb9e3b453ced0c26dde
  Author: Michael Howitz <mh at gocept.com>
  Date:   2016-12-03 (Sat, 03 Dec 2016)

  Changed paths:
    M .coveragerc
    M .travis.yml
    M src/RestrictedPython/Eval.py
    M src/RestrictedPython/Guards.py
    M src/RestrictedPython/MutatingWalker.py
    M src/RestrictedPython/RCompile.py
    M src/RestrictedPython/RestrictionMutator.py
    M src/RestrictedPython/SelectCompiler.py
    M src/RestrictedPython/Utilities.py
    M src/RestrictedPython/__init__.py
    M src/RestrictedPython/test_helper.py
    M src/RestrictedPython/tests/testREADME.py
    M tox.ini

  Log Message:
  -----------
  Merge branch 'Python3_update' into python3_migrate_tests_part0


  Commit: dac40605d7e43c22d969d0545957090a308b6d5d
      https://github.com/zopefoundation/RestrictedPython/commit/dac40605d7e43c22d969d0545957090a308b6d5d
  Author: stephan-hof <sh at axiros.com>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M tests/test_transformer.py

  Log Message:
  -----------
  Get rid of wrong docstrings.


  Commit: 4d01d7ede2be8aab625bfc0f837480e4826b7ec9
      https://github.com/zopefoundation/RestrictedPython/commit/4d01d7ede2be8aab625bfc0f837480e4826b7ec9
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    R src/RestrictedPython/tests/before_and_after27.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Migrate 'before_and_after27'.


  Commit: 171c4c7df0b2de8a6ab9d724d47ca2a6151f61a9
      https://github.com/zopefoundation/RestrictedPython/commit/171c4c7df0b2de8a6ab9d724d47ca2a6151f61a9
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M src/RestrictedPython/tests/before_and_after.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Migrate missing tests.

A lot of tests in 'before_and_after.py' are already present in
test_transformer. Just migrate the ones which were missing.


  Commit: 986eca8dba208c5a415652132b0506085c427f7d
      https://github.com/zopefoundation/RestrictedPython/commit/986eca8dba208c5a415652132b0506085c427f7d
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M src/RestrictedPython/tests/before_and_after.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Migrate the tests for guarding functions calls with _apply_.


  Commit: c3f5017f7ff23538a98771a66dca3ec44d597600
      https://github.com/zopefoundation/RestrictedPython/commit/c3f5017f7ff23538a98771a66dca3ec44d597600
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M src/RestrictedPython/tests/before_and_after.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Migrate tests for attribute access in function defaults.


  Commit: deb434e2201f57326015939d43c692f169f0da6a
      https://github.com/zopefoundation/RestrictedPython/commit/deb434e2201f57326015939d43c692f169f0da6a
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M src/RestrictedPython/tests/before_and_after.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Use the 'augmented assignment' tests from the old suite.


  Commit: 3f8a078bf96f33acda133b66f0242912819a607a
      https://github.com/zopefoundation/RestrictedPython/commit/3f8a078bf96f33acda133b66f0242912819a607a
  Author: stephan-hof <sh at axiros.com>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    R src/RestrictedPython/tests/before_and_after.py

  Log Message:
  -----------
  Remove this file, since no more tests are there anymore.

Sequence unpacking is already checked in test_transformer.


  Commit: 4d98e21794413327118efe19a3170d028212aafe
      https://github.com/zopefoundation/RestrictedPython/commit/4d98e21794413327118efe19a3170d028212aafe
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-01-31 (Tue, 31 Jan 2017)

  Changed paths:
    A .editorconfig
    M .gitignore
    M .travis.yml
    M buildout.cfg
    M docs/update_notes.rst
    M docs_de/RestrictedPython4/index.rst
    M setup.cfg
    M setup.py
    M src/RestrictedPython/transformer.py
    M tox.ini

  Log Message:
  -----------
  Merge branch 'Python3_update' into python3_migrate_tests_part0

# Conflicts:
#	src/RestrictedPython/transformer.py


  Commit: 255047f3a6871ad95252cef401d48ea1aaba10ae
      https://github.com/zopefoundation/RestrictedPython/commit/255047f3a6871ad95252cef401d48ea1aaba10ae
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-01-31 (Tue, 31 Jan 2017)

  Changed paths:
    R src/RestrictedPython/tests/before_and_after.py
    R src/RestrictedPython/tests/before_and_after24.py
    R src/RestrictedPython/tests/before_and_after25.py
    R src/RestrictedPython/tests/before_and_after26.py
    R src/RestrictedPython/tests/before_and_after27.py
    M src/RestrictedPython/transformer.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Merge pull request #10 from zopefoundation/python3_migrate_tests_part0

Python3 migrate some of the old tests


Compare: https://github.com/zopefoundation/RestrictedPython/compare/603f86464408...255047f3a687


More information about the checkins mailing list