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

Compatibility with py.test #5641

Open
rlamy opened this Issue Jul 4, 2011 · 20 comments

Comments

Projects
None yet
7 participants
@rlamy
Copy link
Member

rlamy commented Jul 4, 2011

Currently, py.test 2.0.3 (the latest version) fails in master because of incompatible code in sympy/conftest.py - cf. http://paste.pocoo.org/show/428508/ .

It wouldn't be hard to fix it (and issue 4825 as well), which would be quite useful since py.test has much more functionalities than our homegrown and obsolete fork of it (notably JUnitXml for Jenkins integration). However, there are a few problems:
* sympy/mpmath/conftest.py is also incompatible with recent versions, but there are several possible workarounds allowing it to be ignored
* this would break compatibility with py.test 0.9.*, and therefore make it impossible (instead of merely seriously inconvenient) to run py.bench.

Original issue for #5641: http://code.google.com/p/sympy/issues/detail?id=2542
Original author: https://code.google.com/u/101272611947379421629/
Referenced issues: #4840, #4825
Original owner: https://code.google.com/u/101272611947379421629/

@asmeurer

This comment has been minimized.

Copy link
Member

asmeurer commented Jul 16, 2011

I'd like to do a small 0.7.1 release with IPython 0.11 support, so these will be postponed until 0.7.2.

**Labels:** Milestone-Release0.7.2  

Original comment: http://code.google.com/p/sympy/issues/detail?id=2542#c1
Original author: https://code.google.com/u/asmeurer@gmail.com/

@vperic

This comment has been minimized.

Copy link
Contributor

vperic commented Nov 15, 2011

Nice to have, but not really a release blocker.

**Labels:** -Milestone-Release0.7.2  

Original comment: http://code.google.com/p/sympy/issues/detail?id=2542#c2
Original author: https://code.google.com/u/108713607268198052411/

@rlamy

This comment has been minimized.

Copy link
Member

rlamy commented Nov 16, 2011

BTW, I'm working on this, see https://github.com/rlamy/sympy/tree/pytest

**Status:** Started  

Original comment: http://code.google.com/p/sympy/issues/detail?id=2542#c3
Original author: https://code.google.com/u/101272611947379421629/

@asmeurer

This comment has been minimized.

Copy link
Member

asmeurer commented Nov 27, 2011

**Blocking:** 5966  

Referenced issues: #5966
Original comment: http://code.google.com/p/sympy/issues/detail?id=2542#c4
Original author: https://code.google.com/u/asmeurer@gmail.com/

@rlamy

This comment has been minimized.

Copy link
Member

rlamy commented Dec 2, 2011

https://github.com/sympy/sympy/pull/805

**Labels:** NeedsReview  

Original comment: http://code.google.com/p/sympy/issues/detail?id=2542#c5
Original author: https://code.google.com/u/101272611947379421629/

@rlamy

This comment has been minimized.

Copy link
Member

rlamy commented Feb 11, 2012

This was pushed in but doesn't actually work. The fix is at https://github.com/sympy/sympy/pull/1045

Original comment: http://code.google.com/p/sympy/issues/detail?id=2542#c6
Original author: https://code.google.com/u/101272611947379421629/

@asmeurer

This comment has been minimized.

Copy link
Member

asmeurer commented Feb 11, 2012

That was merged. Is there will work to do with this?

Original comment: http://code.google.com/p/sympy/issues/detail?id=2542#c7
Original author: https://code.google.com/u/asmeurer@gmail.com/

@vperic

This comment has been minimized.

Copy link
Contributor

vperic commented Feb 11, 2012

Per Ronan in PR #805:

Known problems:

    Tests having @slow and @XFAIL are reported incorrectly (this might be a bug in pytest).
    There's a failure in the test for raises() because pytest's behaves slightly differently.
    There's a failure in utilities/randtest.py because it's incorrectly recognised as a test file.
    test_polygon fails in sympy/geometry/tests/test_geometry.py because warnings are handled differently.
    Under Python3, there are many failures in test_GA.py due to missing numpy (bin/test doesn't run the file)
    Under Python3, there are failures in sympy/solvers/tests/test_recurr.py. I haven't found the reason for this yet.


So I don't think this should be closed just yet. I'll try to take a look at these (at least the Python 3 ones).

**Labels:** -NeedsReview  

Original comment: http://code.google.com/p/sympy/issues/detail?id=2542#c8
Original author: https://code.google.com/u/108713607268198052411/

@sympy-issue-migrator

This comment has been minimized.

Copy link

sympy-issue-migrator commented Apr 28, 2012

@pbrady

This comment has been minimized.

Copy link
Member

pbrady commented Sep 25, 2014

Since it's been a while I thought I would post the recent failures I had with py.test. Note that these were failure found via

find sympy/ -maxdepth 1 -type d -exec echo {} \; -exec py.test {} \;

sympy/printing/tests/test_theanocode.py FFFFFFFFFF.F.FFFFFFFFFF.FFFE

========================================== ERRORS ==========================================
___________________ ERROR at setup of test_BlockMatrix_Inverse_execution ___________________
file /home/ptb/gitrepos/sympy/sympy/utilities/pytest.py, line 154
          def skipping(func):
        fixture 'func' not found
        available fixtures: monkeypatch, tmpdir, pytestconfig, capfd, capsys, recwarn
        use 'py.test --fixtures [testpath]' for help on them.

/home/ptb/gitrepos/sympy/sympy/utilities/pytest.py:154
========================================= FAILURES =========================================
_______________________________________ test_symbol ________________________________________

There are lots more details printed which I've omitted (I don't have theano installed)

sympy/integrals/tests/test_meijerint.py ...................E
sympy/integrals/tests/test_prde.py ............
sympy/integrals/tests/test_quadrature.py ..............
sympy/integrals/tests/test_rationaltools.py .......
sympy/integrals/tests/test_rde.py ....x.....
sympy/integrals/tests/test_risch.py ...............................
sympy/integrals/tests/test_transforms.py ...s...........
sympy/integrals/tests/test_trigonometry.py ....

========================================== ERRORS ==========================================
____________________________ ERROR at setup of test_numerically ____________________________
file /home/ptb/gitrepos/sympy/sympy/utilities/randtest.py, line 43
  def test_numerically(f, g, z=None, tol=1.0e-6, a=2, b=-1, c=3, d=1):
        fixture 'f' not found
        available fixtures: capsys, pytestconfig, recwarn, monkeypatch, tmpdir, capfd
        use 'py.test --fixtures [testpath]' for help on them.

/home/ptb/gitrepos/sympy/sympy/utilities/randtest.py:43
                                      DO *NOT* COMMIT!                                      
============== 244 passed, 14 skipped, 19 xfailed, 1 error in 488.00 seconds ===============
========================================= FAILURES =========================================
___________________________________ test_coordinate_vars ___________________________________

    def test_coordinate_vars():
        """Tests the coordinate variables functionality"""
>       assert CoordinateSym('Ax', A, 0) == A[0]
E       assert Ax == A_x
E        +  where Ax = CoordinateSym('Ax', A, 0)

sympy/physics/vector/tests/test_frame.py:12: AssertionError
                                      DO *NOT* COMMIT!                                      
=============== 1 failed, 475 passed, 1 skipped, 6 xfailed in 287.72 seconds ===============
sympy/interactive/tests/test_interactive.py .
sympy/interactive/tests/test_ipython.py FF
sympy/interactive/tests/test_ipythonprinting.py FFF

========================================= FAILURES =========================================
__________________________________ test_automatic_symbols __________________________________

    def test_automatic_symbols():
        # this implicitly requires readline
        if not readline:
            return None
        # NOTE: Because of the way the hook works, you have to use run_cell(code,
        # True).  This means that the code must have no Out, or it will be printed
        # during the tests.
>       app = init_ipython_session()
sympy/geometry/tests/test_geometry.py ........................sE

========================================== ERRORS ==========================================
____________________________ ERROR at setup of test_numerically ____________________________
file /home/ptb/gitrepos/sympy/sympy/utilities/randtest.py, line 43
  def test_numerically(f, g, z=None, tol=1.0e-6, a=2, b=-1, c=3, d=1):
        fixture 'f' not found
        available fixtures: recwarn, pytestconfig, capsys, monkeypatch, capfd, tmpdir
        use 'py.test --fixtures [testpath]' for help on them.

/home/ptb/gitrepos/sympy/sympy/utilities/randtest.py:43
                                      DO *NOT* COMMIT!                                      
====================== 24 passed, 1 skipped, 1 error in 63.87 seconds ======================
sympy/core/tests/test_sympify.py ....F...............................
========================================= FAILURES =========================================
___________________________________ test_sympify_mpmath ____________________________________

    def func_wrapper():
        dps = mpmath.mp.dps
        try:
>           func()

sympy/utilities/decorator.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    @conserve_mpmath_dps
    def test_sympify_mpmath():
        value = sympify(mpmath.mpf(1.0))
        assert value == Float(1.0) and type(value) is Float

        mpmath.mp.dps = 12
>       assert sympify(
            mpmath.pi).epsilon_eq(Float("3.14159265359"), Float("1e-12")) is True
E       assert True is True
E        +  where True = <bound method Float.epsilon_eq of 3.14159265359>(3.14159265359000, 1.00000000000000e-12)
E        +    where <bound method Float.epsilon_eq of 3.14159265359> = 3.14159265359.epsilon_eq
E        +      where 3.14159265359 = sympify(<pi: 3.14159~>)
E        +        where <pi: 3.14159~> = mpmath.pi
E        +    and   3.14159265359000 = Float('3.14159265359')
E        +    and   1.00000000000000e-12 = Float('1e-12')

sympy/core/tests/test_sympify.py:99: AssertionError
sympy/utilities/tests/test_autowrap.py ........
sympy/utilities/tests/test_code_quality.py .....
sympy/utilities/tests/test_codegen.py .........................................
sympy/utilities/tests/test_decorator.py ...
sympy/utilities/tests/test_enumerative.py ...s
sympy/utilities/tests/test_iterables.py ....................................
sympy/utilities/tests/test_lambdify.py .........F.x................................
sympy/utilities/tests/test_module_imports.py x
sympy/utilities/tests/test_pickling.py ........x..........xx..x..........xx..
sympy/utilities/tests/test_pytest.py .F..F..
sympy/utilities/tests/test_source.py ..
sympy/utilities/tests/test_timeutils.py .

========================================= FAILURES =========================================
_____________________________________ test_math_lambda _____________________________________

    def func_wrapper():
        dps = mpmath.mp.dps
        try:
>           func()

sympy/utilities/decorator.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    @conserve_mpmath_dps
    def test_math_lambda():
        mpmath.mp.dps = 50
        sin02 = mpmath.mpf("0.19866933079506121545941262711838975037020672954020")
        f = lambdify(x, sin(x), "math")
        prec = 1e-15
        assert -prec < f(0.2) - sin02 < prec
>       raises(ValueError, lambda: f(x))

sympy/utilities/tests/test_lambdify.py:104: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   raises(ValueError, lambda: f(x))

sympy/utilities/tests/test_lambdify.py:104: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

_Dummy_27 = x

>   ???

<string>:1: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = x

    def __float__(self):
        # Don't bother testing if it's a number; if it's not this is going
        # to fail, and if it is we still need to check that it evalf'ed to
        # a number.
        result = self.evalf()
        if result.is_Number:
            return float(result)
        if result.is_number and result.as_real_imag()[1]:
            raise TypeError("can't convert complex to float")
>       raise TypeError("can't convert expression to float")
E       TypeError: can't convert expression to float

sympy/core/expr.py:209: TypeError
_________________ test_lack_of_exception_triggers_AssertionError_callable __________________

    def test_lack_of_exception_triggers_AssertionError_callable():
        try:
>           raises(Exception, lambda: 1 + 1)
E           Failed: DID NOT RAISE

sympy/utilities/tests/test_pytest.py:14: Failed
___________________ test_lack_of_exception_triggers_AssertionError_with ____________________

    def test_lack_of_exception_triggers_AssertionError_with():
        try:
            with raises(Exception):
>               1 + 1
E               Failed: DID NOT RAISE

sympy/utilities/tests/test_pytest.py:39: Failed
@pbrady

This comment has been minimized.

Copy link
Member

pbrady commented Oct 2, 2014

Full compatibility with python 3 (excluding doctests)

$ py.test sympy -m 'not slow'
============================= test session starts ==============================
platform linux -- Python 3.3.5 -- py-1.4.25 -- pytest-2.6.3
architecture: 64-bit
cache:        yes
ground types: python 

collected 6407 items 

sympy/assumptions/tests/test_assumptions_2.py .....
sympy/assumptions/tests/test_context.py ....
sympy/assumptions/tests/test_matrices.py ...x........x......
sympy/assumptions/tests/test_query.py ...............x............x..........................x
sympy/assumptions/tests/test_refine.py ......
sympy/calculus/tests/test_euler.py .....
sympy/calculus/tests/test_finite_diff.py ...
sympy/calculus/tests/test_singularities.py .x
sympy/categories/tests/test_baseclasses.py ...
sympy/categories/tests/test_drawing.py ........
sympy/combinatorics/tests/test_generators.py .
sympy/combinatorics/tests/test_graycode.py .
sympy/combinatorics/tests/test_group_constructs.py .
sympy/combinatorics/tests/test_named_groups.py .....
sympy/combinatorics/tests/test_partitions.py ...
sympy/combinatorics/tests/test_perm_groups.py ..............s..............s........
sympy/combinatorics/tests/test_permutations.py .......
sympy/combinatorics/tests/test_polyhedron.py .
sympy/combinatorics/tests/test_prufer.py ..
sympy/combinatorics/tests/test_subsets.py .
sympy/combinatorics/tests/test_tensor_can.py .........s..
sympy/combinatorics/tests/test_testutil.py .....
sympy/combinatorics/tests/test_util.py ........
sympy/concrete/tests/test_delta.py ..........................
sympy/concrete/tests/test_gosper.py ...........
sympy/concrete/tests/test_products.py ................
sympy/concrete/tests/test_sums_products.py ................................................
sympy/core/tests/test_args.py ...x.x..x.x.sss...........s...............s........s.ss....s........s..................s..s....s...............ss.........................................s..........................s...s........s.....s..sss.............ss..........................s......s...........ss..s...........s.....................s....s..s....s..xxxxxxxxxxx.s.s...........s........s.x........................s......................................s......................................s............................................s..s...s.................................x.....s........s...s........xxxxxx.....x...x...................................
sympy/core/tests/test_arit.py ................................x........x.............................
sympy/core/tests/test_assumptions.py ...x....................x..................x........
sympy/core/tests/test_basic.py ...............
sympy/core/tests/test_cache.py ..
sympy/core/tests/test_compatibility.py ....
sympy/core/tests/test_complex.py .................
sympy/core/tests/test_containers.py ............
sympy/core/tests/test_count_ops.py ..
sympy/core/tests/test_diff.py ......
sympy/core/tests/test_equal.py ......
sympy/core/tests/test_eval.py ...x....
sympy/core/tests/test_eval_power.py ....................
sympy/core/tests/test_evalf.py ......x.x.................................
sympy/core/tests/test_evaluate.py ..
sympy/core/tests/test_expand.py ..............
sympy/core/tests/test_expr.py ...............................................................................x..
sympy/core/tests/test_exprtools.py .........
sympy/core/tests/test_facts.py ..........
sympy/core/tests/test_function.py ................x..x..............................
sympy/core/tests/test_logic.py ............
sympy/core/tests/test_match.py ........x............................
sympy/core/tests/test_noncommutative.py ..x......xx....
sympy/core/tests/test_numbers.py ........................................................x........
sympy/core/tests/test_operations.py ....
sympy/core/tests/test_priority.py .....
sympy/core/tests/test_relational.py ............x............
sympy/core/tests/test_rules.py .
sympy/core/tests/test_subs.py .............................................x....
sympy/core/tests/test_symbol.py ..........
sympy/core/tests/test_sympify.py ....................................
sympy/core/tests/test_trace.py ...
sympy/core/tests/test_truediv.py ...
sympy/core/tests/test_var.py .....
sympy/core/tests/test_wester.py ......................xxxx.x....xxxxxxxxx..xxx.....xx....x.x............x...x.xx...xx..x.xx..xxxxx.x..x..........xxxx..x....x......x.xxxx.x..xx.x.....xx.......xx.xxxxx.x...xxxxxxx...xxxxxx....x.xxx...x.xx.....x..x......xx.x..xxxxxx......xxxxxx.x.xxxxx..xxxx......sxxss..x....xxxx.....xxxx.x..xxxxxxx..xx.x..X.xxxxxx.xxxx.x.x...xx..x.....x......x.xs.xxxxxx...xxx..xxx...xxx
sympy/crypto/tests/test_crypto.py ................................
sympy/diffgeom/tests/test_class_structure.py ...
sympy/diffgeom/tests/test_diffgeom.py ...........
sympy/diffgeom/tests/test_function_diffgeom_book.py ....
sympy/diffgeom/tests/test_hyperbolic_space.py .
sympy/external/tests/test_autowrap.py sssssssssss
sympy/external/tests/test_codegen.py .s.s....
sympy/external/tests/test_importtools.py ...
sympy/external/tests/test_numpy.py sssssssssssssssssssssss
sympy/external/tests/test_sage.py ssssssssssssss
sympy/external/tests/test_scipy.py s
sympy/functions/combinatorial/tests/test_comb_factorials.py ..........x.
sympy/functions/combinatorial/tests/test_comb_numbers.py .......xx..x..
sympy/functions/elementary/tests/test_complexes.py ....x................x.x
sympy/functions/elementary/tests/test_exponential.py ..........................
sympy/functions/elementary/tests/test_hyperbolic.py ...............................
sympy/functions/elementary/tests/test_integers.py ...x
sympy/functions/elementary/tests/test_interface.py ...
sympy/functions/elementary/tests/test_miscellaneous.py ....
sympy/functions/elementary/tests/test_piecewise.py ........x..x............
sympy/functions/elementary/tests/test_trigonometric.py ...........................................x....
sympy/functions/special/tests/test_bessel.py .................
sympy/functions/special/tests/test_beta_functions.py .
sympy/functions/special/tests/test_bsplines.py .....
sympy/functions/special/tests/test_delta_functions.py ...
sympy/functions/special/tests/test_elliptic_integrals.py ....
sympy/functions/special/tests/test_error_functions.py .......................
sympy/functions/special/tests/test_gamma_functions.py ........
sympy/functions/special/tests/test_hyper.py ............
sympy/functions/special/tests/test_spec_polynomials.py ........
sympy/functions/special/tests/test_spherical_harmonics.py ...
sympy/functions/special/tests/test_tensor_functions.py ...
sympy/functions/special/tests/test_zeta_functions.py .......
sympy/galgebra/tests/test_ga.py .....x..xxxxx..........
sympy/geometry/tests/test_geometry.py ........................
sympy/integrals/tests/test_deltafunctions.py ..
sympy/integrals/tests/test_failing_integrals.py sxxxxxxxxxxxx
sympy/integrals/tests/test_heurisch.py ..............x.....x
sympy/integrals/tests/test_integrals.py ..................................x.x.................................................x.......x....
sympy/integrals/tests/test_lineintegrals.py .
sympy/integrals/tests/test_manual.py .................
sympy/integrals/tests/test_meijerint.py ...................
sympy/integrals/tests/test_prde.py ............
sympy/integrals/tests/test_quadrature.py ..............
sympy/integrals/tests/test_rationaltools.py .......
sympy/integrals/tests/test_rde.py ....x.....
sympy/integrals/tests/test_risch.py ...............................
sympy/integrals/tests/test_transforms.py ..............
sympy/integrals/tests/test_trigonometry.py ....
sympy/interactive/tests/test_interactive.py .
sympy/interactive/tests/test_ipython.py ss
sympy/interactive/tests/test_ipythonprinting.py sss
sympy/liealgebras/tests/test_cartan_matrix.py .
sympy/liealgebras/tests/test_cartan_type.py .
sympy/liealgebras/tests/test_dynkin_diagram.py .
sympy/liealgebras/tests/test_root_system.py .
sympy/liealgebras/tests/test_type_A.py .
sympy/liealgebras/tests/test_type_B.py .
sympy/liealgebras/tests/test_type_C.py .
sympy/liealgebras/tests/test_type_D.py .
sympy/liealgebras/tests/test_type_E.py .
sympy/liealgebras/tests/test_type_F.py .
sympy/liealgebras/tests/test_type_G.py .
sympy/liealgebras/tests/test_weyl_group.py .
sympy/logic/tests/test_boolalg.py ..................................x
sympy/logic/tests/test_dimacs.py .....
sympy/logic/tests/test_inference.py ...................
sympy/matrices/expressions/tests/test_adjoint.py .
sympy/matrices/expressions/tests/test_blockmatrix.py .............
sympy/matrices/expressions/tests/test_determinant.py ...
sympy/matrices/expressions/tests/test_diagonal.py ...
sympy/matrices/expressions/tests/test_factorizations.py ....
sympy/matrices/expressions/tests/test_fourier.py .
sympy/matrices/expressions/tests/test_funcmatrix.py .
sympy/matrices/expressions/tests/test_hadamard.py .....
sympy/matrices/expressions/tests/test_indexing.py .........
sympy/matrices/expressions/tests/test_inverse.py ..
sympy/matrices/expressions/tests/test_matadd.py ...
sympy/matrices/expressions/tests/test_matmul.py .............
sympy/matrices/expressions/tests/test_matrix_exprs.py ....................
sympy/matrices/expressions/tests/test_slice.py ......x..
sympy/matrices/expressions/tests/test_trace.py .x
sympy/matrices/expressions/tests/test_transpose.py ..
sympy/matrices/tests/test_densearith.py ....
sympy/matrices/tests/test_densesolve.py ...
sympy/matrices/tests/test_densetools.py ..
sympy/matrices/tests/test_immutable.py .........
sympy/matrices/tests/test_interactions.py ......
sympy/matrices/tests/test_matrices.py ..................................................................x........................................x...........x.......x..s
sympy/matrices/tests/test_sparse.py ..........
sympy/matrices/tests/test_sparsetools.py ..
sympy/mpmath/tests/test_basic_ops.py ......................
sympy/mpmath/tests/test_bitwise.py ............
sympy/mpmath/tests/test_calculus.py .......
sympy/mpmath/tests/test_compatibility.py ...
sympy/mpmath/tests/test_convert.py .............
sympy/mpmath/tests/test_diff.py ....
sympy/mpmath/tests/test_division.py .......
sympy/mpmath/tests/test_eigen.py ..
sympy/mpmath/tests/test_eigen_symmetric.py ..........
sympy/mpmath/tests/test_elliptic.py ..............
sympy/mpmath/tests/test_fp.py ............
sympy/mpmath/tests/test_functions.py .............................................
sympy/mpmath/tests/test_functions2.py .............................................
sympy/mpmath/tests/test_gammazeta.py ...............................
sympy/mpmath/tests/test_hp.py ...
sympy/mpmath/tests/test_identify.py ..
sympy/mpmath/tests/test_interval.py ..............
sympy/mpmath/tests/test_levin.py .......
sympy/mpmath/tests/test_linalg.py ................
sympy/mpmath/tests/test_matrices.py ..........
sympy/mpmath/tests/test_mpmath.py .
sympy/mpmath/tests/test_ode.py ...
sympy/mpmath/tests/test_pickle.py .
sympy/mpmath/tests/test_power.py ...
sympy/mpmath/tests/test_quad.py ..............
sympy/mpmath/tests/test_rootfinding.py ........
sympy/mpmath/tests/test_special.py .....
sympy/mpmath/tests/test_str.py .
sympy/mpmath/tests/test_summation.py .....
sympy/mpmath/tests/test_trig.py ...
sympy/mpmath/tests/test_visualization.py .
sympy/ntheory/tests/test_ntheory.py ...............................
sympy/parsing/tests/test_implicit_multiplication_application.py .....
sympy/parsing/tests/test_mathematica.py .
sympy/parsing/tests/test_maxima.py ...
sympy/parsing/tests/test_sympy_parser.py .......
sympy/physics/hep/tests/test_gamma_matrices.py .......
sympy/physics/mechanics/tests/test_functions.py ........
sympy/physics/mechanics/tests/test_kane.py ......
sympy/physics/mechanics/tests/test_kane2.py ...
sympy/physics/mechanics/tests/test_lagrange.py .....
sympy/physics/mechanics/tests/test_linearize.py ......
sympy/physics/mechanics/tests/test_particle.py .
sympy/physics/mechanics/tests/test_rigidbody.py ...
sympy/physics/optics/tests/test_gaussopt.py .
sympy/physics/optics/tests/test_medium.py .
sympy/physics/optics/tests/test_utils.py .....
sympy/physics/optics/tests/test_waves.py .
sympy/physics/quantum/tests/test_anticommutator.py ....
sympy/physics/quantum/tests/test_boson.py ..
sympy/physics/quantum/tests/test_cartesian.py ...
sympy/physics/quantum/tests/test_cg.py ...
sympy/physics/quantum/tests/test_circuitplot.py .....sss
sympy/physics/quantum/tests/test_circuitutils.py .......
sympy/physics/quantum/tests/test_commutator.py ....
sympy/physics/quantum/tests/test_constants.py .
sympy/physics/quantum/tests/test_dagger.py ...ss
sympy/physics/quantum/tests/test_density.py ...........
sympy/physics/quantum/tests/test_fermion.py ..
sympy/physics/quantum/tests/test_gate.py .........................
sympy/physics/quantum/tests/test_grover.py ......
sympy/physics/quantum/tests/test_hilbert.py .......
sympy/physics/quantum/tests/test_identitysearch.py .....s...
sympy/physics/quantum/tests/test_innerproduct.py ...
sympy/physics/quantum/tests/test_matrixutils.py ..sss.ss
sympy/physics/quantum/tests/test_operator.py ........
sympy/physics/quantum/tests/test_operatorordering.py ..
sympy/physics/quantum/tests/test_operatorset.py x..
sympy/physics/quantum/tests/test_piab.py ..
sympy/physics/quantum/tests/test_printing.py .....x..........
sympy/physics/quantum/tests/test_qapply.py ...........
sympy/physics/quantum/tests/test_qasm.py .................
sympy/physics/quantum/tests/test_qexpr.py .....
sympy/physics/quantum/tests/test_qft.py ...
sympy/physics/quantum/tests/test_qubit.py ...........
sympy/physics/quantum/tests/test_represent.py ..ssss...
sympy/physics/quantum/tests/test_sho1d.py s....
sympy/physics/quantum/tests/test_shor.py x.
sympy/physics/quantum/tests/test_spin.py ......................................
sympy/physics/quantum/tests/test_state.py .......
sympy/physics/quantum/tests/test_tensorproduct.py .......
sympy/physics/tests/test_clebsch_gordan.py ......
sympy/physics/tests/test_hydrogen.py ....
sympy/physics/tests/test_paulialgebra.py .x
sympy/physics/tests/test_physics_matrices.py ....
sympy/physics/tests/test_pring.py ....
sympy/physics/tests/test_qho_1d.py ....
sympy/physics/tests/test_secondquant.py .......xx.........................................
sympy/physics/tests/test_sho.py ..
sympy/physics/tests/test_units.py ....
sympy/physics/unitsystems/tests/test_dimensions.py .......
sympy/physics/unitsystems/tests/test_dimensionsystem.py ...............
sympy/physics/unitsystems/tests/test_prefixes.py ..
sympy/physics/unitsystems/tests/test_quantities.py .......
sympy/physics/unitsystems/tests/test_simplifiers.py ........
sympy/physics/unitsystems/tests/test_units.py ..............
sympy/physics/unitsystems/tests/test_unitsystem.py .........
sympy/physics/vector/tests/test_dyadic.py ..
sympy/physics/vector/tests/test_fieldfunctions.py .......
sympy/physics/vector/tests/test_frame.py ....
sympy/physics/vector/tests/test_functions.py ..........
sympy/physics/vector/tests/test_output.py .
sympy/physics/vector/tests/test_point.py ......
sympy/physics/vector/tests/test_printing.py ......
sympy/physics/vector/tests/test_vector.py ...
sympy/plotting/intervalmath/tests/test_interval_functions.py ssssssssssssssssssssssss
sympy/plotting/intervalmath/tests/test_intervalmath.py .......
sympy/plotting/pygletplot/tests/test_plotting.py sssssssssss
sympy/plotting/tests/test_plot.py s..
sympy/plotting/tests/test_plot_implicit.py s
sympy/polys/agca/tests/test_homomorphisms.py ....
sympy/polys/agca/tests/test_ideals.py .......
sympy/polys/agca/tests/test_modules.py ................
sympy/polys/domains/tests/test_domains.py ......................
sympy/polys/domains/tests/test_polynomialring.py .....
sympy/polys/domains/tests/test_quotientring.py ..
sympy/polys/tests/test_constructor.py ..
sympy/polys/tests/test_densearith.py ................................................
sympy/polys/tests/test_densebasic.py ..........................................................
sympy/polys/tests/test_densetools.py ....................................
sympy/polys/tests/test_dispersion.py .
sympy/polys/tests/test_distributedmodules.py ....................
sympy/polys/tests/test_euclidtools.py ................
sympy/polys/tests/test_factortools.py ....................
sympy/polys/tests/test_fields.py ...............x...
sympy/polys/tests/test_galoistools.py .................................
sympy/polys/tests/test_groebnertools.py ...................
sympy/polys/tests/test_heuristicgcd.py ..
sympy/polys/tests/test_injections.py ..
sympy/polys/tests/test_modulargcd.py .......
sympy/polys/tests/test_monomials.py ..........
sympy/polys/tests/test_numberfields.py ................
sympy/polys/tests/test_orderings.py .......
sympy/polys/tests/test_orthopolys.py .......
sympy/polys/tests/test_partfrac.py ..........
sympy/polys/tests/test_polyclasses.py ...................
sympy/polys/tests/test_polyfuncs.py ....
sympy/polys/tests/test_polyoptions.py ..............................................
sympy/polys/tests/test_polyroots.py ...............
sympy/polys/tests/test_polytools.py ...............................................................................................................x..................xx.
sympy/polys/tests/test_polyutils.py ..........
sympy/polys/tests/test_pythonrational.py ..............
sympy/polys/tests/test_rationaltools.py .
sympy/polys/tests/test_ring_series.py ............
sympy/polys/tests/test_rings.py ..............................................................
sympy/polys/tests/test_rootisolation.py ....................
sympy/polys/tests/test_rootoftools.py ......................
sympy/polys/tests/test_solvers.py .........
sympy/polys/tests/test_specialpolys.py ........
sympy/polys/tests/test_sqfreetools.py ...
sympy/printing/pretty/tests/test_pretty.py .................................................................
sympy/printing/tests/test_ccode.py .........................
sympy/printing/tests/test_codeprinter.py ...
sympy/printing/tests/test_conventions.py ..
sympy/printing/tests/test_dot.py .........
sympy/printing/tests/test_fcode.py ................................
sympy/printing/tests/test_gtk.py x.
sympy/printing/tests/test_jscode.py ......................
sympy/printing/tests/test_lambdarepr.py ....
sympy/printing/tests/test_latex.py .....x.........................................................................x.....
sympy/printing/tests/test_mathematica.py .........
sympy/printing/tests/test_mathml.py .................
sympy/printing/tests/test_precedence.py ............
sympy/printing/tests/test_python.py .....x....
sympy/printing/tests/test_repr.py ....................
sympy/printing/tests/test_str.py ........................................................................
sympy/printing/tests/test_tableform.py ..
sympy/printing/tests/test_theanocode.py ssssssssssssssssssssssssssss
sympy/series/tests/test_demidovich.py .................
sympy/series/tests/test_gruntz.py .s.ssx......................x........x...
sympy/series/tests/test_kauers.py ..
sympy/series/tests/test_limits.py ...............x.x..............x.............
sympy/series/tests/test_lseries.py .......
sympy/series/tests/test_nseries.py .................x.................................................
sympy/series/tests/test_order.py ..............................................
sympy/series/tests/test_residues.py ....x....
sympy/series/tests/test_series.py ..............
sympy/sets/tests/test_contains.py ..
sympy/sets/tests/test_fancysets.py .....x........xx.
sympy/sets/tests/test_sets.py .....................................x......x.......
sympy/simplify/tests/test_cse.py .........x.xx..........x.....
sympy/simplify/tests/test_epathtools.py ...
sympy/simplify/tests/test_fu.py ..........................
sympy/simplify/tests/test_function.py ......
sympy/simplify/tests/test_hyperexpand.py ...x.............x........xxx.
sympy/simplify/tests/test_rewrite.py ..
sympy/simplify/tests/test_simplify.py ......................x.......................x...x...............x...................x.....
sympy/simplify/tests/test_sqrtdenest.py ..........
sympy/simplify/tests/test_traversaltools.py .
sympy/solvers/tests/test_constantsimp.py .........x.
sympy/solvers/tests/test_diophantine.py ...............................
sympy/solvers/tests/test_inequalities.py ............
sympy/solvers/tests/test_numeric.py ..x
sympy/solvers/tests/test_ode.py .........................s........xxx...x...............................x.......
sympy/solvers/tests/test_pde.py .........
sympy/solvers/tests/test_polysys.py ....
sympy/solvers/tests/test_recurr.py .......
sympy/solvers/tests/test_solvers.py ..................................s............................x.x..............
sympy/stats/tests/test_continuous_rv.py .x................................x...x......x.......
sympy/stats/tests/test_discrete_rv.py ...
sympy/stats/tests/test_finite_rv.py ............
sympy/stats/tests/test_mix.py .
sympy/stats/tests/test_rv.py ............x.....
sympy/strategies/branch/tests/test_core.py ..........
sympy/strategies/branch/tests/test_tools.py ..
sympy/strategies/branch/tests/test_traverse.py ....
sympy/strategies/tests/test_core.py ..........
sympy/strategies/tests/test_rl.py .........
sympy/strategies/tests/test_tools.py ...
sympy/strategies/tests/test_traverse.py ......
sympy/strategies/tests/test_tree.py ......
sympy/tensor/tests/test_index_methods.py ...............
sympy/tensor/tests/test_indexed.py .................
sympy/tensor/tests/test_tensor.py ................................ssssssssss....
sympy/unify/tests/test_rewrite.py ........
sympy/unify/tests/test_sympy.py .............x...
sympy/unify/tests/test_unify.py ........
sympy/utilities/tests/test_autowrap.py ........
sympy/utilities/tests/test_code_quality.py .....
sympy/utilities/tests/test_codegen.py .........................................
sympy/utilities/tests/test_decorator.py ...
sympy/utilities/tests/test_enumerative.py ...
sympy/utilities/tests/test_iterables.py ....................................
sympy/utilities/tests/test_lambdify.py ...........x..sss...........sss.............
sympy/utilities/tests/test_module_imports.py x
sympy/utilities/tests/test_pickling.py ........x..........xx..x..........xx..
sympy/utilities/tests/test_pytest.py sssssss
sympy/utilities/tests/test_source.py ..
sympy/utilities/tests/test_timeutils.py .
sympy/vector/tests/test_coordsysrect.py ........
sympy/vector/tests/test_dyadic.py ..
sympy/vector/tests/test_field_functions.py ......
sympy/vector/tests/test_functions.py ..
sympy/vector/tests/test_printing.py ....
sympy/vector/tests/test_vector.py .......

==================== 70 tests deselected by "-m 'not slow'" ====================
 5794 passed, 222 skipped, 70 deselected, 320 xfailed, 1 xpassed, 1 warnings in 3361.12 seconds 
@pbrady

This comment has been minimized.

Copy link
Member

pbrady commented Oct 3, 2014

Py2 compatibility (excluding doctests)

$ py.test sympy -m 'not slow'
============================= test session starts ==============================
platform linux2 -- Python 2.7.8 -- py-1.4.25 -- pytest-2.6.3
architecture: 64-bit
cache:        yes
ground types: python 

collected 6407 items 

sympy/assumptions/tests/test_assumptions_2.py .....
sympy/assumptions/tests/test_context.py ....
sympy/assumptions/tests/test_matrices.py ...x........x......
sympy/assumptions/tests/test_query.py ...............x............x..........................x
sympy/assumptions/tests/test_refine.py ......
sympy/calculus/tests/test_euler.py .....
sympy/calculus/tests/test_finite_diff.py ...
sympy/calculus/tests/test_singularities.py .x
sympy/categories/tests/test_baseclasses.py ...
sympy/categories/tests/test_drawing.py ........
sympy/combinatorics/tests/test_generators.py .
sympy/combinatorics/tests/test_graycode.py .
sympy/combinatorics/tests/test_group_constructs.py .
sympy/combinatorics/tests/test_named_groups.py .....
sympy/combinatorics/tests/test_partitions.py ...
sympy/combinatorics/tests/test_perm_groups.py ..............s..............s........
sympy/combinatorics/tests/test_permutations.py .......
sympy/combinatorics/tests/test_polyhedron.py .
sympy/combinatorics/tests/test_prufer.py ..
sympy/combinatorics/tests/test_subsets.py .
sympy/combinatorics/tests/test_tensor_can.py .........s..
sympy/combinatorics/tests/test_testutil.py .....
sympy/combinatorics/tests/test_util.py ........
sympy/concrete/tests/test_delta.py ..........................
sympy/concrete/tests/test_gosper.py ...........
sympy/concrete/tests/test_products.py ................
sympy/concrete/tests/test_sums_products.py ................................................
sympy/core/tests/test_args.py ...x.x..x.x..................................................................................................................................................................................................................................................................................xxxxxxxxxxx......................x......................................................................................................................................................................................x........................xxxxxx.....x...x...................................ssssssssssssssssssssssssssssssssssssssssssssssss
sympy/core/tests/test_arit.py ................................x........x.............................
sympy/core/tests/test_assumptions.py ...x....................x..................x........
sympy/core/tests/test_basic.py ...............
sympy/core/tests/test_cache.py ..
sympy/core/tests/test_compatibility.py ....
sympy/core/tests/test_complex.py .................
sympy/core/tests/test_containers.py ............
sympy/core/tests/test_count_ops.py ..
sympy/core/tests/test_diff.py ......
sympy/core/tests/test_equal.py ......
sympy/core/tests/test_eval.py ...x....
sympy/core/tests/test_eval_power.py ....................
sympy/core/tests/test_evalf.py ......x.x.................................
sympy/core/tests/test_evaluate.py ..
sympy/core/tests/test_expand.py ..............
sympy/core/tests/test_expr.py ...............................................................................x..
sympy/core/tests/test_exprtools.py .........
sympy/core/tests/test_facts.py ..........
sympy/core/tests/test_function.py ................x..x..............................
sympy/core/tests/test_logic.py ............
sympy/core/tests/test_match.py ........x............................
sympy/core/tests/test_noncommutative.py ..x......xx....
sympy/core/tests/test_numbers.py ........................................................x........
sympy/core/tests/test_operations.py ....
sympy/core/tests/test_priority.py .....
sympy/core/tests/test_relational.py ............x............
sympy/core/tests/test_rules.py .
sympy/core/tests/test_subs.py .............................................x....
sympy/core/tests/test_symbol.py ..........
sympy/core/tests/test_sympify.py ....................................
sympy/core/tests/test_trace.py ...
sympy/core/tests/test_truediv.py ...
sympy/core/tests/test_var.py .....
sympy/core/tests/test_wester.py ......................xxxx.x....xxxxxxxxx..xxx.....xx....x.x............x...x.xx...xx..x.xx..xxxxx.x..x..........xxxx..x....x......x.xxxx.x..xx.x.....xx.......xx.xxxxx.x...xxxxxxx...xxxxxx....x.xxx...x.xx.....x..x......xx.x..xxxxxx......xxxxxx.x.xxxxx..xxxx......xx..x....xxxx.....xxxx.x..xxxxxxx..xx.x..X.xxxxxx.xxxx.x.x...xx..x.....x......x.x.xxxxxx...xxx..xxx...xxxssss
sympy/crypto/tests/test_crypto.py ................................
sympy/diffgeom/tests/test_class_structure.py ...
sympy/diffgeom/tests/test_diffgeom.py ...........
sympy/diffgeom/tests/test_function_diffgeom_book.py ....
sympy/diffgeom/tests/test_hyperbolic_space.py .
sympy/external/tests/test_autowrap.py sssss.sssss
sympy/external/tests/test_codegen.py .s.s....
sympy/external/tests/test_importtools.py ...
sympy/external/tests/test_numpy.py sssssssssssssssssssssss
sympy/external/tests/test_sage.py ssssssssssssss
sympy/external/tests/test_scipy.py s
sympy/functions/combinatorial/tests/test_comb_factorials.py ..........x.
sympy/functions/combinatorial/tests/test_comb_numbers.py .......xx..x..
sympy/functions/elementary/tests/test_complexes.py ....x................x.x
sympy/functions/elementary/tests/test_exponential.py ..........................
sympy/functions/elementary/tests/test_hyperbolic.py ...............................
sympy/functions/elementary/tests/test_integers.py ...x
sympy/functions/elementary/tests/test_interface.py ...
sympy/functions/elementary/tests/test_miscellaneous.py ....
sympy/functions/elementary/tests/test_piecewise.py ........x..x............
sympy/functions/elementary/tests/test_trigonometric.py ...........................................x....
sympy/functions/special/tests/test_bessel.py .................
sympy/functions/special/tests/test_beta_functions.py .
sympy/functions/special/tests/test_bsplines.py .....
sympy/functions/special/tests/test_delta_functions.py ...
sympy/functions/special/tests/test_elliptic_integrals.py ....
sympy/functions/special/tests/test_error_functions.py .......................
sympy/functions/special/tests/test_gamma_functions.py ........
sympy/functions/special/tests/test_hyper.py ............
sympy/functions/special/tests/test_spec_polynomials.py ........
sympy/functions/special/tests/test_spherical_harmonics.py ...
sympy/functions/special/tests/test_tensor_functions.py ...
sympy/functions/special/tests/test_zeta_functions.py .......
sympy/galgebra/tests/test_ga.py .....x..xxxxx..........
sympy/geometry/tests/test_geometry.py ........................
sympy/integrals/tests/test_deltafunctions.py ..
sympy/integrals/tests/test_failing_integrals.py xxxxxxxxxxxxs
sympy/integrals/tests/test_heurisch.py ..............x.....x
sympy/integrals/tests/test_integrals.py ..................................x.x.................................................x.......x....
sympy/integrals/tests/test_lineintegrals.py .
sympy/integrals/tests/test_manual.py .................
sympy/integrals/tests/test_meijerint.py ...................
sympy/integrals/tests/test_prde.py ............
sympy/integrals/tests/test_quadrature.py ..............
sympy/integrals/tests/test_rationaltools.py .......
sympy/integrals/tests/test_rde.py ....x.....
sympy/integrals/tests/test_risch.py ...............................
sympy/integrals/tests/test_transforms.py ..............
sympy/integrals/tests/test_trigonometry.py ....
sympy/interactive/tests/test_interactive.py .
sympy/interactive/tests/test_ipython.py ..
sympy/interactive/tests/test_ipythonprinting.py ...
sympy/liealgebras/tests/test_cartan_matrix.py .
sympy/liealgebras/tests/test_cartan_type.py .
sympy/liealgebras/tests/test_dynkin_diagram.py .
sympy/liealgebras/tests/test_root_system.py .
sympy/liealgebras/tests/test_type_A.py .
sympy/liealgebras/tests/test_type_B.py .
sympy/liealgebras/tests/test_type_C.py .
sympy/liealgebras/tests/test_type_D.py .
sympy/liealgebras/tests/test_type_E.py .
sympy/liealgebras/tests/test_type_F.py .
sympy/liealgebras/tests/test_type_G.py .
sympy/liealgebras/tests/test_weyl_group.py .
sympy/logic/tests/test_boolalg.py ..................................x
sympy/logic/tests/test_dimacs.py .....
sympy/logic/tests/test_inference.py ...................
sympy/matrices/expressions/tests/test_adjoint.py .
sympy/matrices/expressions/tests/test_blockmatrix.py .............
sympy/matrices/expressions/tests/test_determinant.py ...
sympy/matrices/expressions/tests/test_diagonal.py ...
sympy/matrices/expressions/tests/test_factorizations.py ....
sympy/matrices/expressions/tests/test_fourier.py .
sympy/matrices/expressions/tests/test_funcmatrix.py .
sympy/matrices/expressions/tests/test_hadamard.py .....
sympy/matrices/expressions/tests/test_indexing.py .........
sympy/matrices/expressions/tests/test_inverse.py ..
sympy/matrices/expressions/tests/test_matadd.py ...
sympy/matrices/expressions/tests/test_matmul.py .............
sympy/matrices/expressions/tests/test_matrix_exprs.py ....................
sympy/matrices/expressions/tests/test_slice.py ......x..
sympy/matrices/expressions/tests/test_trace.py .x
sympy/matrices/expressions/tests/test_transpose.py ..
sympy/matrices/tests/test_densearith.py ....
sympy/matrices/tests/test_densesolve.py ...
sympy/matrices/tests/test_densetools.py ..
sympy/matrices/tests/test_immutable.py .........
sympy/matrices/tests/test_interactions.py ......
sympy/matrices/tests/test_matrices.py ..................................................................x........................................x...........x.......x..s
sympy/matrices/tests/test_sparse.py ..........
sympy/matrices/tests/test_sparsetools.py ..
sympy/mpmath/tests/test_basic_ops.py ......................
sympy/mpmath/tests/test_bitwise.py ............
sympy/mpmath/tests/test_calculus.py .......
sympy/mpmath/tests/test_compatibility.py ...
sympy/mpmath/tests/test_convert.py .............
sympy/mpmath/tests/test_diff.py ....
sympy/mpmath/tests/test_division.py .......
sympy/mpmath/tests/test_eigen.py ..
sympy/mpmath/tests/test_eigen_symmetric.py ..........
sympy/mpmath/tests/test_elliptic.py ..............
sympy/mpmath/tests/test_fp.py ............
sympy/mpmath/tests/test_functions.py .............................................
sympy/mpmath/tests/test_functions2.py .............................................
sympy/mpmath/tests/test_gammazeta.py ...............................
sympy/mpmath/tests/test_hp.py ...
sympy/mpmath/tests/test_identify.py ..
sympy/mpmath/tests/test_interval.py ..............
sympy/mpmath/tests/test_levin.py .......
sympy/mpmath/tests/test_linalg.py ................
sympy/mpmath/tests/test_matrices.py ..........
sympy/mpmath/tests/test_mpmath.py .
sympy/mpmath/tests/test_ode.py ...
sympy/mpmath/tests/test_pickle.py .
sympy/mpmath/tests/test_power.py ...
sympy/mpmath/tests/test_quad.py ..............
sympy/mpmath/tests/test_rootfinding.py ........
sympy/mpmath/tests/test_special.py .....
sympy/mpmath/tests/test_str.py .
sympy/mpmath/tests/test_summation.py .....
sympy/mpmath/tests/test_trig.py ...
sympy/mpmath/tests/test_visualization.py .
sympy/ntheory/tests/test_ntheory.py ...............................
sympy/parsing/tests/test_implicit_multiplication_application.py .....
sympy/parsing/tests/test_mathematica.py .
sympy/parsing/tests/test_maxima.py ...
sympy/parsing/tests/test_sympy_parser.py .......
sympy/physics/hep/tests/test_gamma_matrices.py .......
sympy/physics/mechanics/tests/test_functions.py ........
sympy/physics/mechanics/tests/test_kane.py ......
sympy/physics/mechanics/tests/test_kane2.py ...
sympy/physics/mechanics/tests/test_lagrange.py .....
sympy/physics/mechanics/tests/test_linearize.py ......
sympy/physics/mechanics/tests/test_particle.py .
sympy/physics/mechanics/tests/test_rigidbody.py ...
sympy/physics/optics/tests/test_gaussopt.py .
sympy/physics/optics/tests/test_medium.py .
sympy/physics/optics/tests/test_utils.py .....
sympy/physics/optics/tests/test_waves.py .
sympy/physics/quantum/tests/test_anticommutator.py ....
sympy/physics/quantum/tests/test_boson.py ..
sympy/physics/quantum/tests/test_cartesian.py ...
sympy/physics/quantum/tests/test_cg.py ...
sympy/physics/quantum/tests/test_circuitplot.py .....sss
sympy/physics/quantum/tests/test_circuitutils.py .......
sympy/physics/quantum/tests/test_commutator.py ....
sympy/physics/quantum/tests/test_constants.py .
sympy/physics/quantum/tests/test_dagger.py ...ss
sympy/physics/quantum/tests/test_density.py ...........
sympy/physics/quantum/tests/test_fermion.py ..
sympy/physics/quantum/tests/test_gate.py .........................
sympy/physics/quantum/tests/test_grover.py ......
sympy/physics/quantum/tests/test_hilbert.py .......
sympy/physics/quantum/tests/test_identitysearch.py .....s...
sympy/physics/quantum/tests/test_innerproduct.py ...
sympy/physics/quantum/tests/test_matrixutils.py ..sss.ss
sympy/physics/quantum/tests/test_operator.py ........
sympy/physics/quantum/tests/test_operatorordering.py ..
sympy/physics/quantum/tests/test_operatorset.py x..
sympy/physics/quantum/tests/test_piab.py ..
sympy/physics/quantum/tests/test_printing.py .....x..........
sympy/physics/quantum/tests/test_qapply.py ...........
sympy/physics/quantum/tests/test_qasm.py .................
sympy/physics/quantum/tests/test_qexpr.py .....
sympy/physics/quantum/tests/test_qft.py ...
sympy/physics/quantum/tests/test_qubit.py ...........
sympy/physics/quantum/tests/test_represent.py ..ssss...
sympy/physics/quantum/tests/test_sho1d.py s....
sympy/physics/quantum/tests/test_shor.py x.
sympy/physics/quantum/tests/test_spin.py ......................................
sympy/physics/quantum/tests/test_state.py .......
sympy/physics/quantum/tests/test_tensorproduct.py .......
sympy/physics/tests/test_clebsch_gordan.py ......
sympy/physics/tests/test_hydrogen.py ....
sympy/physics/tests/test_paulialgebra.py .x
sympy/physics/tests/test_physics_matrices.py ....
sympy/physics/tests/test_pring.py ....
sympy/physics/tests/test_qho_1d.py ....
sympy/physics/tests/test_secondquant.py .......xx.........................................
sympy/physics/tests/test_sho.py ..
sympy/physics/tests/test_units.py ....
sympy/physics/unitsystems/tests/test_dimensions.py .......
sympy/physics/unitsystems/tests/test_dimensionsystem.py ...............
sympy/physics/unitsystems/tests/test_prefixes.py ..
sympy/physics/unitsystems/tests/test_quantities.py .......
sympy/physics/unitsystems/tests/test_simplifiers.py ........
sympy/physics/unitsystems/tests/test_units.py ..............
sympy/physics/unitsystems/tests/test_unitsystem.py .........
sympy/physics/vector/tests/test_dyadic.py ..
sympy/physics/vector/tests/test_fieldfunctions.py .......
sympy/physics/vector/tests/test_frame.py ....
sympy/physics/vector/tests/test_functions.py ..........
sympy/physics/vector/tests/test_output.py .
sympy/physics/vector/tests/test_point.py ......
sympy/physics/vector/tests/test_printing.py ......
sympy/physics/vector/tests/test_vector.py ...
sympy/plotting/intervalmath/tests/test_interval_functions.py ssssssssssssssssssssssss
sympy/plotting/intervalmath/tests/test_intervalmath.py .......
sympy/plotting/pygletplot/tests/test_plotting.py sssssssssss
sympy/plotting/tests/test_plot.py .s.
sympy/plotting/tests/test_plot_implicit.py s
sympy/polys/agca/tests/test_homomorphisms.py ....
sympy/polys/agca/tests/test_ideals.py .......
sympy/polys/agca/tests/test_modules.py ................
sympy/polys/domains/tests/test_domains.py ......................
sympy/polys/domains/tests/test_polynomialring.py .....
sympy/polys/domains/tests/test_quotientring.py ..
sympy/polys/tests/test_constructor.py ..
sympy/polys/tests/test_densearith.py ................................................
sympy/polys/tests/test_densebasic.py ..........................................................
sympy/polys/tests/test_densetools.py ....................................
sympy/polys/tests/test_dispersion.py .
sympy/polys/tests/test_distributedmodules.py ....................
sympy/polys/tests/test_euclidtools.py ................
sympy/polys/tests/test_factortools.py ....................
sympy/polys/tests/test_fields.py ...............x...
sympy/polys/tests/test_galoistools.py .................................
sympy/polys/tests/test_groebnertools.py ...................
sympy/polys/tests/test_heuristicgcd.py ..
sympy/polys/tests/test_injections.py ..
sympy/polys/tests/test_modulargcd.py .......
sympy/polys/tests/test_monomials.py ..........
sympy/polys/tests/test_numberfields.py ................
sympy/polys/tests/test_orderings.py .......
sympy/polys/tests/test_orthopolys.py .......
sympy/polys/tests/test_partfrac.py ..........
sympy/polys/tests/test_polyclasses.py ...................
sympy/polys/tests/test_polyfuncs.py ....
sympy/polys/tests/test_polyoptions.py ..............................................
sympy/polys/tests/test_polyroots.py ...............
sympy/polys/tests/test_polytools.py ...............................................................................................................x..................xx.
sympy/polys/tests/test_polyutils.py ..........
sympy/polys/tests/test_pythonrational.py ..............
sympy/polys/tests/test_rationaltools.py .
sympy/polys/tests/test_ring_series.py ............
sympy/polys/tests/test_rings.py ..............................................................
sympy/polys/tests/test_rootisolation.py ....................
sympy/polys/tests/test_rootoftools.py ......................
sympy/polys/tests/test_solvers.py .........
sympy/polys/tests/test_specialpolys.py ........
sympy/polys/tests/test_sqfreetools.py ...
sympy/printing/pretty/tests/test_pretty.py .................................................................
sympy/printing/tests/test_ccode.py .........................
sympy/printing/tests/test_codeprinter.py ...
sympy/printing/tests/test_conventions.py ..
sympy/printing/tests/test_dot.py .........
sympy/printing/tests/test_fcode.py ................................
sympy/printing/tests/test_gtk.py x.
sympy/printing/tests/test_jscode.py ......................
sympy/printing/tests/test_lambdarepr.py ....
sympy/printing/tests/test_latex.py .....x.........................................................................x.....
sympy/printing/tests/test_mathematica.py .........
sympy/printing/tests/test_mathml.py .................
sympy/printing/tests/test_precedence.py ............
sympy/printing/tests/test_python.py .....x....
sympy/printing/tests/test_repr.py ....................
sympy/printing/tests/test_str.py ........................................................................
sympy/printing/tests/test_tableform.py ..
sympy/printing/tests/test_theanocode.py ssssssssssssssssssssssssssss
sympy/series/tests/test_demidovich.py .................
sympy/series/tests/test_gruntz.py .s.ssx......................x........x...
sympy/series/tests/test_kauers.py ..
sympy/series/tests/test_limits.py ...............x.x..............x.............
sympy/series/tests/test_lseries.py .......
sympy/series/tests/test_nseries.py .................x.................................................
sympy/series/tests/test_order.py ..............................................
sympy/series/tests/test_residues.py ....x....
sympy/series/tests/test_series.py ..............
sympy/sets/tests/test_contains.py ..
sympy/sets/tests/test_fancysets.py .....x........xx.
sympy/sets/tests/test_sets.py .....................................x......x.......
sympy/simplify/tests/test_cse.py .........x.xx..........x.....
sympy/simplify/tests/test_epathtools.py ...
sympy/simplify/tests/test_fu.py ..........................
sympy/simplify/tests/test_function.py ......
sympy/simplify/tests/test_hyperexpand.py ...x.............x........xxx.
sympy/simplify/tests/test_rewrite.py ..
sympy/simplify/tests/test_simplify.py ......................x.......................x...x...............x...................x.....
sympy/simplify/tests/test_sqrtdenest.py ..........
sympy/simplify/tests/test_traversaltools.py .
sympy/solvers/tests/test_constantsimp.py .........x.
sympy/solvers/tests/test_diophantine.py ...............................
sympy/solvers/tests/test_inequalities.py ............
sympy/solvers/tests/test_numeric.py ..x
sympy/solvers/tests/test_ode.py .........................s........xxx...x...............................x.......
sympy/solvers/tests/test_pde.py .........
sympy/solvers/tests/test_polysys.py ....
sympy/solvers/tests/test_recurr.py .......
sympy/solvers/tests/test_solvers.py ..................................s............................x.x..............
sympy/stats/tests/test_continuous_rv.py .x................................x...x......x.......
sympy/stats/tests/test_discrete_rv.py ...
sympy/stats/tests/test_finite_rv.py ............
sympy/stats/tests/test_mix.py .
sympy/stats/tests/test_rv.py ............x.....
sympy/strategies/branch/tests/test_core.py ..........
sympy/strategies/branch/tests/test_tools.py ..
sympy/strategies/branch/tests/test_traverse.py ....
sympy/strategies/tests/test_core.py ..........
sympy/strategies/tests/test_rl.py .........
sympy/strategies/tests/test_tools.py ...
sympy/strategies/tests/test_traverse.py ......
sympy/strategies/tests/test_tree.py ......
sympy/tensor/tests/test_index_methods.py ...............
sympy/tensor/tests/test_indexed.py .................
sympy/tensor/tests/test_tensor.py ................................ssssssssss....
sympy/unify/tests/test_rewrite.py ........
sympy/unify/tests/test_sympy.py .............x...
sympy/unify/tests/test_unify.py ........
sympy/utilities/tests/test_autowrap.py ........
sympy/utilities/tests/test_code_quality.py .....
sympy/utilities/tests/test_codegen.py .........................................
sympy/utilities/tests/test_decorator.py ...
sympy/utilities/tests/test_enumerative.py ...
sympy/utilities/tests/test_iterables.py ....................................
sympy/utilities/tests/test_lambdify.py ..x...........sss...........sss.............
sympy/utilities/tests/test_module_imports.py x
sympy/utilities/tests/test_pickling.py ........x..........xx..x..........xx..
sympy/utilities/tests/test_pytest.py sssssss
sympy/utilities/tests/test_source.py ..
sympy/utilities/tests/test_timeutils.py .
sympy/vector/tests/test_coordsysrect.py ........
sympy/vector/tests/test_dyadic.py ..
sympy/vector/tests/test_field_functions.py ......
sympy/vector/tests/test_functions.py ..
sympy/vector/tests/test_printing.py ....
sympy/vector/tests/test_vector.py .......

==================== 70 tests deselected by "-m 'not slow'" ====================
 5800 passed, 216 skipped, 70 deselected, 320 xfailed, 1 xpassed, 1 warnings in 3320.39 seconds 
@skirpichev

This comment has been minimized.

Copy link
Contributor

skirpichev commented Mar 11, 2015

FYI, @pbrady, I think that the underlying reason for doctest's failure mentioned here is using sys.displayhook by doctest, e.g. see this.

I don't think you could workaround this with py.test without changing broken doctests.

@pbrady

This comment has been minimized.

Copy link
Member

pbrady commented Mar 11, 2015

@skirpichev thanks for digging that up. My take away from that chunk of code is that only way to effect the printed display of the doctests (as we do) is to have a custom doctest runner (as we do). Does that sound about right to you?

@skirpichev

This comment has been minimized.

Copy link
Contributor

skirpichev commented Mar 11, 2015

Does that sound about right to you?

Yes, I don't think this is solvable with py.test without monkeypatching of the doctest runner.

On another hand, I don't think that own testing framework is a viable idea for such project as sympy. It's better to adopt tests for py.test in some way.

@pbrady

This comment has been minimized.

Copy link
Member

pbrady commented Mar 11, 2015

I agree that it would be quite a bit easier from a maintenance perspective to ditch our custom test runner. Would we still be able to test things like the unicode printer though?

@skirpichev

This comment has been minimized.

Copy link
Contributor

skirpichev commented Mar 11, 2015

Sure. All you need - include init_printing calls. displayhook shouldn't be the problem in such case.

(I assume that there is no other traps from unicode in the doctest, especially in 2.6. But I'm not sure.)

@asmeurer

This comment has been minimized.

Copy link
Member

asmeurer commented Mar 11, 2015

A big difference between our doctest runner and the one in the standard library is that ours requires all imports to be in the doctest. The one in the standard library takes the namespace of the module that the function is in, which doesn't make much sense. I don't know how py.test handles this.

@skirpichev

This comment has been minimized.

Copy link
Contributor

skirpichev commented Mar 11, 2015

The one in the standard library takes the namespace of the module that the function is in, which doesn't make much sense.

I suspect you can workaround this with globs kwarg of the doctest, isn't?

@skirpichev

This comment has been minimized.

Copy link
Contributor

skirpichev commented Mar 11, 2015

In fact, the quoted above @pbrady's solution could be the answer for imports problem. Not literally, but I think you got the idea.

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