diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:33:32 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:33:32 +0200 |
| commit | 3026086c19b45382d5ceca778a5458233b485ce9 (patch) | |
| tree | a58fb49cd65f9b7ff24029aeb4dfaccd657128dd /tests/test_import_string.py | |
| parent | 3e25cb1adbf0dce96f49a270d07028550b15e33c (diff) | |
| parent | b9ceb0a57e2c48f95e94693da5f3f4b86fbc3bff (diff) | |
| download | paste-3026086c19b45382d5ceca778a5458233b485ce9.tar.gz | |
Merged in mfrobben/paste (pull request #21)
Fix bad reference to iterator variable
Diffstat (limited to 'tests/test_import_string.py')
| -rw-r--r-- | tests/test_import_string.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_import_string.py b/tests/test_import_string.py index 96526ac..262cbdd 100644 --- a/tests/test_import_string.py +++ b/tests/test_import_string.py @@ -11,6 +11,6 @@ def test_simple(): def test_complex(): assert eval_import('sys:version') is sys.version assert eval_import('os:getcwd()') == os.getcwd() - assert (eval_import('sys:version.split()[0]') == + assert (eval_import('sys:version.split()[0]') == sys.version.split()[0]) - + |
