I'm pretty confident this is caused by differences in Python 3's
demandimporter wherein it'll notice nonexistent modules earlier than
Python 2. As a result, let's just disable this check on Python 3.
The test now passes on Python 3.
( )
pulkit |
hg-reviewers |
I'm pretty confident this is caused by differences in Python 3's
demandimporter wherein it'll notice nonexistent modules earlier than
Python 2. As a result, let's just disable this check on Python 3.
The test now passes on Python 3.
Lint Skipped |
Unit Tests Skipped |
I'm pretty confident this is caused by differences in Python 3's demandimporter wherein it'll notice nonexistent modules earlier than Python 2. As a result, let's just disable this check on Python 3. The test now passes on Python 3.
The test passes on my Python 3.6.7rc1 (Debian sid) without no-py3k, and I
think it is the test written for Py3.
+#if demandimport no-py3k
+
See also issue5208 for detail about example case on Python 3.x.