Menu

#96 Implicit reliance on dict ordering in test suite

closed-fixed
nobody
None
5
2012-08-14
2012-08-07
Anonymous
No

When running the docutils test suite with "python -R" (to enable hash randomization), or with Python 3.3b1 (3.3. enables hash randomization by default), the test suite intermittently fails in a couple of places:
test/functional/expected/standalone_rst_latex.tex
test/functional/expected/standalone_rst_xetex.tex

I'm attaching a patch that fixes them by adding sorted() in a couple of places and updating the expected order (note that the order in test/functional/expected/standalone_rst_latex.tex happens to already be the sorted() order).

Discussion

  • Günter Milde

    Günter Milde - 2012-08-14

    Fixed. Thanks for the patch.

     
  • Günter Milde

    Günter Milde - 2012-08-14
    • status: open --> closed-fixed
     

Log in to post a comment.