You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/01/27 23:07:44 UTC

[jira] Commented: (CASSANDRA-2063) bug with test

    [ https://issues.apache.org/jira/browse/CASSANDRA-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987789#action_12987789 ] 

Jonathan Ellis commented on CASSANDRA-2063:
-------------------------------------------

i'm kind of surprised that import is the only thing keeping 2.4 from running, but +1

> bug with test
> -------------
>
>                 Key: CASSANDRA-2063
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2063
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>         Environment: RHL. Python 2.4.3
>            Reporter: Amit Cahanovich
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 0.7.2
>
>         Attachments: v1-0001-CASSANDRA-2063-Python2.4-friendly-imports.txt
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> when executing nosetests (e.g: nosetests test/system/test_avro_system.py), you get the following error:
>     mod = load_module(part_fqname, fh, filename, desc)
>   File "/tmp/apache-cassandra-0.7.0-src/test/system/test_avro_system.py", line 19
>     from . import AvroTester
>          ^
> SyntaxError: invalid syntax
> All *.py scripts should be changed to be "from __init__ import (AvroTester)"    instead of "from . import AvroTester"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.