nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

Fix tests with SyntaxError #1007

Closed yan12125 closed 6 years ago

yan12125 commented 8 years ago

Fixes #991

Since Python 3.5, unittest reads additional fields if the thrown exception is an instance of SyntaxError.

Relevant Python changes: http://bugs.python.org/issue17911, http://bugs.python.org/issue22936

yan12125 commented 8 years ago

Hmm, seems #1004 should be fixed first.