Show More
@@ -15,10 +15,7 b'' | |||||
15 | import os |
|
15 | import os | |
16 | import sys |
|
16 | import sys | |
17 |
|
17 | |||
18 | if sys.version_info[0] >= 3: |
|
18 | from . import demandimportpy3 as demandimport | |
19 | from . import demandimportpy3 as demandimport |
|
|||
20 | else: |
|
|||
21 | from . import demandimportpy2 as demandimport |
|
|||
22 |
|
19 | |||
23 | # Full module names which can't be lazy imported. |
|
20 | # Full module names which can't be lazy imported. | |
24 | # Extensions can add to this set. |
|
21 | # Extensions can add to this set. |
@@ -4,7 +4,6 b'' | |||||
4 | $ cd "$TESTDIR"/.. |
|
4 | $ cd "$TESTDIR"/.. | |
5 |
|
5 | |||
6 | $ testrepohg files 'set:(**.py) - grep(pygments)' \ |
|
6 | $ testrepohg files 'set:(**.py) - grep(pygments)' \ | |
7 | > -X hgdemandimport/demandimportpy2.py \ |
|
|||
8 | > -X hgext/fsmonitor/pywatchman \ |
|
7 | > -X hgext/fsmonitor/pywatchman \ | |
9 | > -X mercurial/cffi \ |
|
8 | > -X mercurial/cffi \ | |
10 | > -X mercurial/thirdparty \ |
|
9 | > -X mercurial/thirdparty \ |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now