title: nosetest got invalid syntax error
body: <p>I'm using nosetests.
  Command is <code>nosetests .\test.py  --nologcapture</code>
  The test.py is as below:</p>
  
  <pre><code>import unittest
  import json
  
  from nose.tools import assert_true, assert_raises
  import requests
  
  endpoint = u"http://www.bing.com"
  try:
      import urllib
      raw_status = json.loads(urllib.urlopen(endpoint).read())
  except Exception, e:#line 11
      raise e
  </code></pre>
  
  <p>Error like below:
  <a href="https://i.stack.imgur.com/dSTrl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dSTrl.png" alt="enter image description here"></a></p>
  
  <p>My python --version shows me Python2.7 used. While echo PATH under the <strong>same prompt</strong> show only Python35 (I'm also puzzled about this).</p>
  
  <p>Anyone knows why this error occurs? Thanks!</p>