Opened 5 years ago

Closed 5 years ago

#14559 closed task (fixed)

make test-stem static check failure

Reported by: toralf Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version: Tor: 0.2.6.2-alpha
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

At a 64 bit Gentoo Linxu I do get :

$> make -j3 CFLAGS="-O2 -pipe -march=native" test-stem
...
STATIC CHECKS
* /home/tfoerste/devel/stem/stem/__init__.py
  line 500  - undefined name 'unicode'
  line 501  - undefined name 'long'

* /home/tfoerste/devel/stem/stem/interpreter/__init__.py
  line 133  - undefined name 'raw_input'

with

$> python -V
Python 3.3.5

/me is unsure if this is stem or Tor related

Child Tickets

Change History (3)

comment:1 Changed 5 years ago by toralf

forgot :

======================================================================
                             INITIALISING                             
======================================================================

  checking stem version...                             1.3.0-dev
  checking python version...                           3.3.5
  checking pycrypto version...                         2.6.1
  checking mock version...                             1.0
  checking pyflakes version...                         0.8.1
  checking pep8 version...                             1.5.7
  checking for orphaned .pyc files...                  done
  checking for unused tests...                         done
  running pyflakes...                                  done
  running pep8...                                      done

comment:2 Changed 5 years ago by atagar

Thanks toralf! I haven't yet picked up pyflakes for python 3.x (I just run it for my 2.x test runs) so no surprise. I'll add these to the ignore patterns in a bit...

https://gitweb.torproject.org/stem.git/tree/test/settings.cfg#n131

They're false alarms from if/else for compatability across both python versions.

comment:3 Changed 5 years ago by atagar

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.