Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some testcases fail on py3 #879

Closed
robertwb opened this issue May 17, 2009 · 7 comments
Closed

Some testcases fail on py3 #879

robertwb opened this issue May 17, 2009 · 7 comments

Comments

@robertwb
Copy link
Contributor

I am fairly certain that these are only problems in the test files and not with Cython, but it should be fixed to be sure.

Update:

  • extsetslice -- should probably be disabled in Python 3, as it tests py2-only functionality
  • extdelslice -- ditto
  • cdivision_CEP_516 -- There's a problem with how warnings etc are reported, + sys.maxint isn't available in Py3

Otherwise it looks fine.

Migrated from http://trac.cython.org/ticket/319

@robertwb
Copy link
Contributor Author

@dagss changed description from

I am fairly certain that these are only problems in the test files and not with Cython, but it should be fixed to be sure.

to

I am fairly certain that these are only problems in the test files and not with Cython, but it should be fixed to be sure.

Update:

  • extsetslice -- should probably be disabled in Python 3, as it tests py2-only functionality
  • extdelslice -- ditto
  • cdivision_CEP_516 -- There's a problem with how warnings etc are reported, + sys.maxint isn't available in Py3

Otherwise it looks fine.
milestone from 0.11.2 to 0.11.3
commented

@robertwb
Copy link
Contributor Author

robertwb commented Jun 26, 2009

scoder commented

also see http://trac.cython.org/ticket/215 regarding the slice functions

@robertwb
Copy link
Contributor Author

robertwb commented Sep 9, 2009

scoder changed milestone from 0.11.3 to 0.12
commented

I disabled the slicing tests in Py3. All three tests no longer fail.

Remaining test failures on cython-unstable:

  • complex_numbers_T305 - doctests related to complex numbers fail due to changed complex repr() in Py3.1
  • cpp_exceptions_T265 - exception value is set up as string, whereas the later compiler code expects an ExprNode or PyrexType

@robertwb
Copy link
Contributor Author

scoder commented

Update: the only remaining tests that fail are the "complex" tests, i.e. complex_numbers_*, because repr(complex) changed in Py3.1 and now (correctly) returns -(2j) as (-0-2j)

@robertwb
Copy link
Contributor Author

@robertwb changed milestone from 0.12 to 0.12.1
commented

@robertwb
Copy link
Contributor Author

@robertwb changed milestone from 0.12.1 to 0.13
commented

@robertwb
Copy link
Contributor Author

robertwb commented May 4, 2010

scoder changed resolution to fixed
status from new to closed
commented

Test cases work in current Py3, so let's close this ancient ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant